CVS commit: src/lib/libc/db/hash

2020-02-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 21 22:04:06 UTC 2020 Modified Files: src/lib/libc/db/hash: hash.h Log Message: Avoid undefined behavior in *BIT macros hash_page.c:792:2, left shift of 1 by 31 places cannot be represented in type 'int' hash_page.c:855:2,

CVS commit: src/lib/libc/db/hash

2016-09-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Sep 24 20:08:29 UTC 2016 Modified Files: src/lib/libc/db/hash: hash_page.c Log Message: When writing out pages in the "other endian" format, make a copy instead of trashing the in-memory one. To generate a diff of this com

CVS commit: src/lib/libc/db/hash

2015-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 18:22:42 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c hash.h hash_bigkey.c hash_page.c Log Message: Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this returns 0x to avoid overflow.

CVS commit: src/lib/libc/db/hash

2015-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 13:00:46 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Account for the -1 hack to fit 0x1 in a short in hash_page.c To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/lib/libc

CVS commit: src/lib/libc/db/hash

2015-11-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 18 00:23:39 UTC 2015 Modified Files: src/lib/libc/db/hash: hash_page.c Log Message: If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and we end up storing 0... This means that every entry needs a pag

CVS commit: src/lib/libc/db/hash

2015-11-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 17 20:19:55 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data. XXX: pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.35

CVS commit: src/lib/libc/db/hash

2015-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 22 21:16:02 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Fix hash iteration that deletes the current element under the cursor by adjusting the position of the iterator appropriately. XXX: pullup 7

CVS commit: src/lib/libc/db/hash

2015-06-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 22 18:50:06 UTC 2015 Modified Files: src/lib/libc/db/hash: hash.c Log Message: Delay moving to the next key until the next iteration. This avoids returning invalid data to the user if the user deletes the current key, bu