[Bps-public-commit] dbix-searchbuilder branch, quote-table-names, repushed

Aaron Trevena ast at bestpractical.com
Tue Sep 1 06:48:23 EDT 2020


The branch quote-table-names was deleted and repushed:
       was b2f197248ea1da907b8099504aa25be615bbb470
       now 3def714b3743b9435b3c2da9b2c92d13093cb9fe

1:  c402dff = 1:  c402dff Add table name quoting option for mysql
2:  d2978b0 ! 2:  89c850a Add tests for tablename quoting in mysql
    @@ -43,8 +43,8 @@
     +        # check mysql version
     +        my $version = $handle->DatabaseVersion(Short=>1);
     +        if ($quote_tablenames == 0 and lc($d) eq 'mysql' and $version =~ m/^8\./) {
    -+            ok(1, 'skipping quoted reserved word tests');
    -+            ok(1, 'skipping quoted reserved word tests');
    ++            ok(1, 'skipping quoted reserved word tests for mysql 8');
    ++            ok(1, 'skipping quoted reserved word tests for mysql 8');
     +        }
     +        else {
     +            my $group = TestApp::Group->new($handle);
    @@ -67,7 +67,7 @@
     +) },
     +q{CREATE TABLE Groups (
     +	id integer primary key,
    -+	Name varchar(42)
    ++	Name varchar(36)
      ) }
      ]
      }
    @@ -79,7 +79,7 @@
     +},
     +q{CREATE TEMPORARY TABLE `Groups` (
     +	id integer AUTO_INCREMENT primary key,
    -+	Name varchar(42)
    ++	Name varchar(36)
     +) }
     +]
      }
3:  b2f1972 ! 3:  c282044 Update Changes with quoted table names update
    @@ -13,3 +13,4 @@
      1.68 2020-07-06
       - Avoid segmentation faults on disconnect on MariaDB 10.2+
      
    +
-:  ------- > 4:  b293d7d Update join/alias logic to use optional table name quoting
-:  ------- > 5:  3def714 Update join/alias tests to use optional table name quoting



More information about the Bps-public-commit mailing list