aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-16 14:16:31 +0000
committerdrh <drh@noemail.net>2014-09-16 14:16:31 +0000
commit035e563bf62e749036825d85fdd885a4110810ce (patch)
tree4ec7e6a2f631a355f59707bd1c1a33c0990609f5 /src/vdbeapi.c
parent7f4b19f170ff8010cd88c248aa9bf7b909d1dc75 (diff)
downloadsqlite-035e563bf62e749036825d85fdd885a4110810ce.tar.gz
sqlite-035e563bf62e749036825d85fdd885a4110810ce.zip
Reorder the elements of the Mem object for a small size reduction and
performance improvement. FossilOrigin-Name: 0be3019ed794c10de67dfd645ceea7d45815bc4b
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index b64f33c8c..14d6b8412 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -803,11 +803,21 @@ static const Mem *columnNullValue(void){
#if defined(SQLITE_DEBUG) && defined(__GNUC__)
__attribute__((aligned(8)))
#endif
- = {0, "", (double)0, {0}, 0, MEM_Null, 0,
+ = {
+ .flags = MEM_Null,
+ .enc = 0,
+ .n = 0,
+ .r = (double)0,
+ .u = {0},
+ .z = 0,
+ .zMalloc = 0,
+ .db = 0,
+ .xDel = 0,
#ifdef SQLITE_DEBUG
- 0, 0, /* pScopyFrom, pFiller */
+ .pScopyFrom = 0,
+ .pFiller = 0,
#endif
- 0, 0 };
+ };
return &nullMem;
}