-C Up\sthe\sversion\snumber\sto\s3.0.2\sand\smake\schanges\sto\sthe\swebsite\sin\npreparation\sfor\sthe\sfirst\sbeta\srelease.\s(CVS\s1786)
-D 2004-06-30T22:35:07
+C Do\snot\suse\s"new"\sas\sa\svariable\sname\s-\ssome\scompilers\sthink\sit\sis\sa\skeyword.\s(CVS\s1787)
+D 2004-06-30T22:43:22
F Makefile.in f5788bf4daea9b25424df5ccb529ac3438efb2b2
F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
F src/encode.c a876af473d1d636faa3dca51c7571f2e007eea37
F src/expr.c d8ee92a9c11113a013f7853acb55453a8e0b2e92
F src/func.c 5a15cfb0f1d9e5abbd42407205d5d6e2b0c09fb2
-F src/hash.c 148e3512f1b4e90f8477f852c70b36a137b116a7
+F src/hash.c f0a2f22c2a7052d67053b5f4690ea3010bb3fb9f
F src/hash.h 762d95f1e567664d1eafc1687de755626be962fb
F src/insert.c d99ffe87e1e1397f4233afcd06841d52d6b17b18
F src/legacy.c ad23746f15f67e34577621b1875f639c94839e1f
F www/vdbe.tcl 59288db1ac5c0616296b26dce071c36cb611dfe9
F www/version3.tcl 563ba3ac02f64da27ab17f3edbe8e56bfd0293fb
F www/whentouse.tcl a8335bce47cc2fddb07f19052cb0cb4d9129a8e4
-P 48b31540db5f0212a7e37e4833b760615afe13a3
-R 57e00a64fec64b6bc856aec68b6407c7
+P 0b73b7a074896f45573e612992d08a22124fc485
+R f5f234e6d9fc32a1acebf966d8937fb9
U drh
-Z 8f392c5cdced73fd13140c2e9f0d5003
+Z 3f1e35c1e38b1c2c127038249b9a806d
-0b73b7a074896f45573e612992d08a22124fc485
\ No newline at end of file
+8a6e4ea79e5f4333fbc767832d5e55c77da204e1
\ No newline at end of file
** This is the implementation of generic hash-tables
** used in SQLite.
**
-** $Id: hash.c,v 1.13 2004/06/30 03:08:25 drh Exp $
+** $Id: hash.c,v 1.14 2004/06/30 22:43:22 drh Exp $
*/
#include "sqliteInt.h"
#include <assert.h>
/* Turn bulk memory into a hash table object by initializing the
** fields of the Hash structure.
**
-** "new" is a pointer to the hash table that is to be initialized.
+** "pNew" is a pointer to the hash table that is to be initialized.
** keyClass is one of the constants SQLITE_HASH_INT, SQLITE_HASH_POINTER,
** SQLITE_HASH_BINARY, or SQLITE_HASH_STRING. The value of keyClass
** determines what kind of key the hash table will use. "copyKey" is
** sense for SQLITE_HASH_STRING and SQLITE_HASH_BINARY and is ignored
** for other key classes.
*/
-void sqlite3HashInit(Hash *new, int keyClass, int copyKey){
- assert( new!=0 );
+void sqlite3HashInit(Hash *pNew, int keyClass, int copyKey){
+ assert( pNew!=0 );
assert( keyClass>=SQLITE_HASH_INT && keyClass<=SQLITE_HASH_BINARY );
- new->keyClass = keyClass;
- new->copyKey = copyKey &&
+ pNew->keyClass = keyClass;
+ pNew->copyKey = copyKey &&
(keyClass==SQLITE_HASH_STRING || keyClass==SQLITE_HASH_BINARY);
- new->first = 0;
- new->count = 0;
- new->htsize = 0;
- new->ht = 0;
+ pNew->first = 0;
+ pNew->count = 0;
+ pNew->htsize = 0;
+ pNew->ht = 0;
}
/* Remove all entries from a hash table. Reclaim all memory.