aboutsummaryrefslogtreecommitdiff
path: root/src/func.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/func.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/func.c')
-rw-r--r--src/func.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c
index 0a8a9dda3..e1961118f 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1492,6 +1492,7 @@ static void minmaxStep(
sqlite3SkipAccumulatorLoad(context);
}
}else{
+ pBest->db = sqlite3_context_db_handle(context);
sqlite3VdbeMemCopy(pBest, pArg);
}
}