1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Make the size of a Bitvec object 512 bytes on all platforms, instead of

having the size depend on the size of a pointer.  This makes testing easier.

FossilOrigin-Name: ca479f3de2927ccc05dc76d10e40c00b8e0c88d1
This commit is contained in:
drh
2010-08-05 11:56:01 +00:00
parent b9b49bf36b
commit f6171e9bae
3 changed files with 11 additions and 11 deletions

View File

@@ -37,7 +37,7 @@
#include "sqliteInt.h"
/* Size of the Bitvec structure in bytes. */
#define BITVEC_SZ (sizeof(void*)*128) /* 512 on 32bit. 1024 on 64bit */
#define BITVEC_SZ 512
/* Round the union size down to the nearest pointer boundary, since that's how
** it will be aligned within the Bitvec struct. */