diff options
author | drh <drh@noemail.net> | 2014-09-19 22:30:49 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-09-19 22:30:49 +0000 |
commit | 1eda9f7d8702b8a81023e43ce153938f69dd7f62 (patch) | |
tree | 32f6f88ca6a71407d0f040eed305089395456407 /src/printf.c | |
parent | 11a6eee8e1a3f74fb319ae69620d3c53658268b3 (diff) | |
download | sqlite-1eda9f7d8702b8a81023e43ce153938f69dd7f62.tar.gz sqlite-1eda9f7d8702b8a81023e43ce153938f69dd7f62.zip |
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
Diffstat (limited to 'src/printf.c')
0 files changed, 0 insertions, 0 deletions