~percona-toolkit-dev/percona-toolkit/pt-duplicate-key-checker-docs-dont-explain-how-Size-Duplicate-Indexes-is-calculated-1415646

« back to all changes in this revision

Viewing changes to lib/QueryRewriter.pm

Merge pt-query-digest-does-not-fingerprint-true-false-literals-correctly-965553.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
   $query =~ s/".*?"/?/sg;               # quoted strings
178
178
   $query =~ s/'.*?'/?/sg;               # quoted strings
179
179
 
 
180
   $query =~ s/\bfalse\b|\btrue\b/?/isg; # boolean values 
 
181
 
180
182
   # MD5 checksums which are always 32 hex chars 
181
183
   if ( $self->{match_md5_checksums} ) { 
182
184
      $query =~ s/([._-])[a-f0-9]{32}/$1?/g;