Fix a number of SQL queries to work with ANSI_QUOTES

This commit is contained in:
Baron Schwartz
2012-06-06 23:36:07 -04:00
parent b9304dabb5
commit aa42210f72
3 changed files with 2 additions and 134 deletions

View File

@@ -364,7 +364,7 @@ sub _optimize_xor {
do { # Try different positions till sliced result equals non-sliced.
PTDEBUG && _d('Trying slice', $opt_slice);
$dbh->do('SET @crc := "", @cnt := 0');
$dbh->do(q{SET @crc := '', @cnt := 0});
my $slices = $self->_make_xor_slices(
row_checksum => "\@crc := $func('a')",
crc_width => $crc_width,