/[SQLSession]/trunk/lib/SQLSession/Action/DoSQL.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/SQLSession/Action/DoSQL.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 66 by dpavlin, Thu Jan 25 20:28:42 2007 UTC revision 70 by dpavlin, Thu Jan 25 21:16:06 2007 UTC
# Line 76  sub canonicalize_sql_query { Line 76  sub canonicalize_sql_query {
76    
77          warn "original SQL:\t$sql";          warn "original SQL:\t$sql";
78    
79          $sql =~ s/\b($w)\b/uc($1)/egis;          $sql =~ s/([\b^'])($w)\1/uc($2)/egis;
80    
81          warn "canonicalize SQL:\t$sql";          warn "canonicalize SQL:\t$sql";
82    

Legend:
Removed from v.66  
changed lines
  Added in v.70

  ViewVC Help
Powered by ViewVC 1.1.26