aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2022-08-22 15:18:37 +0000
committerdrh <>2022-08-22 15:18:37 +0000
commit376860ba88f75862e9110bf5858ff75a4e17b17c (patch)
treea2c5875887d5a9604e3d323cb071040a5b2ff6de /src/sqliteInt.h
parent41ce47c4f4bcae3882fdccec18a6100a85f4bba5 (diff)
downloadsqlite-376860ba88f75862e9110bf5858ff75a4e17b17c.tar.gz
sqlite-376860ba88f75862e9110bf5858ff75a4e17b17c.zip
Performance enhancement for sqlite3DbFree().
FossilOrigin-Name: c296a9d958ec360fc8d217363348b4918d665bccb3c4f27503a2dcef7db49052
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index c53b4f3bb..21d15378f 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1438,6 +1438,7 @@ struct Lookaside {
#endif /* SQLITE_OMIT_TWOSIZE_LOOKASIDE */
void *pStart; /* First byte of available memory space */
void *pEnd; /* First byte past end of available space */
+ void *pTrueEnd; /* True value of pEnd, when db->pnBytesFreed!=0 */
};
struct LookasideSlot {
LookasideSlot *pNext; /* Next buffer in the list of free buffers */