aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeInt.h
diff options
context:
space:
mode:
authordrh <>2025-01-21 16:30:55 +0000
committerdrh <>2025-01-21 16:30:55 +0000
commit8e7a16895c62f8c56e8ada82cecdacaf1e97fcd3 (patch)
treeb3b5574061183331a06355fe74ff525315c9fc70 /src/vdbeInt.h
parent2e899ccaff0baca5cd6db7e8a24be8728c97a371 (diff)
downloadsqlite-8e7a16895c62f8c56e8ada82cecdacaf1e97fcd3.tar.gz
sqlite-8e7a16895c62f8c56e8ada82cecdacaf1e97fcd3.zip
Performance improvements to the (debug-use only) Mem.pScopyFrom logic, resulting
in about 8x faster performance under -DSQLITE_DEBUG for the query in from [forum:/forumpost/0025389d0860af82|forum post 0025389d0860af82]. This change only affects builds that use -DSQLITE_DEBUG. FossilOrigin-Name: 7fb1ae25d1572dd7709a0f850c148a5f745a524f01ea231e29a1ebc37c173fb9
Diffstat (limited to 'src/vdbeInt.h')
-rw-r--r--src/vdbeInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vdbeInt.h b/src/vdbeInt.h
index 2cb4f8c2a..24cf1ac56 100644
--- a/src/vdbeInt.h
+++ b/src/vdbeInt.h
@@ -244,6 +244,7 @@ struct sqlite3_value {
#ifdef SQLITE_DEBUG
Mem *pScopyFrom; /* This Mem is a shallow copy of pScopyFrom */
u16 mScopyFlags; /* flags value immediately after the shallow copy */
+ u8 bScopy; /* The pScopyFrom of some other Mem *might* point here */
#endif
};