]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Recognize the invariant that a Mem object cannot be MEM_Dyn and have
authordrh <drh@noemail.net>
Fri, 19 Sep 2014 22:30:49 +0000 (22:30 +0000)
committerdrh <drh@noemail.net>
Fri, 19 Sep 2014 22:30:49 +0000 (22:30 +0000)
commit1eda9f7d8702b8a81023e43ce153938f69dd7f62
tree32f6f88ca6a71407d0f040eed305089395456407
parent11a6eee8e1a3f74fb319ae69620d3c53658268b3
Recognize the invariant that a Mem object cannot be MEM_Dyn and have
a non-zero szMalloc at the same time.  Enforce this with assert()s and
exploit it in the sqlite3VdbeMemClearAndResize() routine for a performance
increase.

FossilOrigin-Name: 3b21cf2b284048da4b728a5d6ec89e5c330144d4
manifest
manifest.uuid
src/vdbemem.c