aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-18 21:25:33 +0000
committerdrh <drh@noemail.net>2014-09-18 21:25:33 +0000
commit17bcb102993a155dec69a58e2f079a880e1967b7 (patch)
tree8abc9f4462b8269582e7e4aa23c7af3dd82dd360 /src/vdbeapi.c
parent26c79a060b2e7fdf6d05585a3b44d0498df3fe1c (diff)
downloadsqlite-17bcb102993a155dec69a58e2f079a880e1967b7.tar.gz
sqlite-17bcb102993a155dec69a58e2f079a880e1967b7.zip
Add the Mem.szMalloc element to the Mem object and use it to keep track of
the size of the Mem.zMalloc allocation. FossilOrigin-Name: 9c09ac353df6041808cace41880f4729ee73f5e1
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index aad64aa64..7d3ae9cb0 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -809,6 +809,8 @@ static const Mem *columnNullValue(void){
/* .n = */ 0,
/* .z = */ 0,
/* .zMalloc = */ 0,
+ /* .szMalloc = */ 0,
+ /* .iPadding1 = */ 0,
/* .db = */ 0,
/* .xDel = */ 0,
#ifdef SQLITE_DEBUG