diff options
author | drh <drh@noemail.net> | 2016-02-25 18:54:30 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-02-25 18:54:30 +0000 |
commit | d3e1af4aa04113b379050119e0015ada3078cc4e (patch) | |
tree | d12ed8d1907415a474cf321b76498befd1312fc9 /src/bitvec.c | |
parent | 7f219fad58bb84f5e856134a7b6909c8c0482c9b (diff) | |
parent | eecb80e77e3556e9373237eff6ab0a8dad7eb5fb (diff) | |
download | sqlite-d3e1af4aa04113b379050119e0015ada3078cc4e.tar.gz sqlite-d3e1af4aa04113b379050119e0015ada3078cc4e.zip |
Merge all the latest changes from trunk.
FossilOrigin-Name: b86590043e17705ada90562cf30f69b3e3ef65a4
Diffstat (limited to 'src/bitvec.c')
-rw-r--r-- | src/bitvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitvec.c b/src/bitvec.c index f7f544cff..9d13ba918 100644 --- a/src/bitvec.c +++ b/src/bitvec.c @@ -177,7 +177,7 @@ int sqlite3BitvecSet(Bitvec *p, u32 i){ i = i%p->iDivisor; if( p->u.apSub[bin]==0 ){ p->u.apSub[bin] = sqlite3BitvecCreate( p->iDivisor ); - if( p->u.apSub[bin]==0 ) return SQLITE_NOMEM; + if( p->u.apSub[bin]==0 ) return SQLITE_NOMEM_BKPT; } p = p->u.apSub[bin]; } @@ -212,7 +212,7 @@ bitvec_set_rehash: int rc; u32 *aiValues = sqlite3StackAllocRaw(0, sizeof(p->u.aHash)); if( aiValues==0 ){ - return SQLITE_NOMEM; + return SQLITE_NOMEM_BKPT; }else{ memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash)); memset(p->u.apSub, 0, sizeof(p->u.apSub)); |