ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/PApp-SQL/SQL.xs
(Generate patch)

Comparing PApp-SQL/SQL.xs (file contents):
Revision 1.25 by root, Sat Jul 28 13:51:20 2012 UTC vs.
Revision 1.26 by root, Thu Sep 6 10:48:25 2012 UTC

177static U32 177static U32
178lru_hash (SV *dbh, SV *sql) 178lru_hash (SV *dbh, SV *sql)
179{ 179{
180 STRLEN i, l; 180 STRLEN i, l;
181 char *b = SvPV (sql, l); 181 char *b = SvPV (sql, l);
182 U32 hash = 2166136261; 182 U32 hash = 2166136261U;
183 183
184 hash = (hash ^ (U32)dbh) * 16777619U; 184 hash = (hash ^ (U32)dbh) * 16777619U;
185 hash = (hash ^ l) * 16777619U; 185 hash = (hash ^ l) * 16777619U;
186 186
187 for (i = 7; i < l; i += i >> 2) 187 for (i = 7; i < l; i += i >> 2)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines