aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
authordrh <>2022-02-28 12:08:09 +0000
committerdrh <>2022-02-28 12:08:09 +0000
commit4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e (patch)
treefe3435713804fe222bcaf8cdc74ee82b767376dc /src/vdbeapi.c
parentc9373e86e816ccd62dec14af42eb5b7640e5011e (diff)
downloadsqlite-4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e.tar.gz
sqlite-4296357c90fa9c67ef2ce6e5e68d8ec1b3e1b40e.zip
The performance increase in the previous check-in of this branch was due to
the revised loop in initMemArray() and reordering fields of Mem - not the call the memcpy(). Changing the code to avoid memcpy() results in an even better gain, and code that is far less dodgy. FossilOrigin-Name: d74aa979530d4236f5900d2ef998b27065d352d7c18bcd822e5c8f1041a1a81c
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r--src/vdbeapi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index 69f3d7b12..83f7b0fd6 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -1087,8 +1087,6 @@ int sqlite3_data_count(sqlite3_stmt *pStmt){
/*
** Return a pointer to static memory containing an SQL NULL value.
-**
-** Must be revised if column order for Mem changes. tag-20220228a.
*/
static const Mem *columnNullValue(void){
/* Even though the Mem structure contains an element