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.17 by root, Wed Jan 28 19:55:39 2004 UTC vs.
Revision 1.18 by root, Thu Sep 1 08:57:28 2005 UTC

62#define lru_init lru_list.next = &lru_list; lru_list.prev = &lru_list /* other fields are zero */ 62#define lru_init lru_list.next = &lru_list; lru_list.prev = &lru_list /* other fields are zero */
63 63
64/* this is primitive, yet effective */ 64/* this is primitive, yet effective */
65/* the returned value must never be zero (or bad things will happen) */ 65/* the returned value must never be zero (or bad things will happen) */
66#define lru_hash do { \ 66#define lru_hash do { \
67 hash = (((U32)dbh)>>2); \ 67 hash = (((U32)(long)dbh)>>2); \
68 hash += *statement;\ 68 hash += *statement;\
69 hash += len; \ 69 hash += len; \
70} while (0) 70} while (0)
71 71
72/* fetch and "use" */ 72/* fetch and "use" */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines