aboutsummaryrefslogtreecommitdiff
path: root/src/bitvec.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2009-01-16 15:21:05 +0000
committerdanielk1977 <danielk1977@noemail.net>2009-01-16 15:21:05 +0000
commit443c0597fe11768a01aacbe99d0acd0255a0d3f8 (patch)
tree3f363da2c5a10f8c62017375b48a6b28844b0d21 /src/bitvec.c
parent78c2e6d837374aff2c77ddba6bfb7e03386a4c3e (diff)
downloadsqlite-443c0597fe11768a01aacbe99d0acd0255a0d3f8.tar.gz
sqlite-443c0597fe11768a01aacbe99d0acd0255a0d3f8.zip
This commit is an error. Reverted by (6188). (CVS 6187)
FossilOrigin-Name: aa67fd0cdb4f53a0c6e15c001d37554d15006718
Diffstat (limited to 'src/bitvec.c')
-rw-r--r--src/bitvec.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/bitvec.c b/src/bitvec.c
index 4098e57d0..0297d286b 100644
--- a/src/bitvec.c
+++ b/src/bitvec.c
@@ -34,7 +34,7 @@
** start of a transaction, and is thus usually less than a few thousand,
** but can be as large as 2 billion for a really big database.
**
-** @(#) $Id: bitvec.c,v 1.10 2009/01/02 21:39:39 drh Exp $
+** @(#) $Id: bitvec.c,v 1.11 2009/01/16 15:21:05 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -275,6 +275,14 @@ void sqlite3BitvecDestroy(Bitvec *p){
sqlite3_free(p);
}
+/*
+** Return the value of the iSize parameter specified when Bitvec *p
+** was created.
+*/
+u32 sqlite3BitvecSize(Bitvec *p){
+ return p->iSize;
+}
+
#ifndef SQLITE_OMIT_BUILTIN_TEST
/*
** Let V[] be an array of unsigned characters sufficient to hold