diff options
Diffstat (limited to 'src/pcache1.c')
-rw-r--r-- | src/pcache1.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pcache1.c b/src/pcache1.c index a8c321738..cad41b1b7 100644 --- a/src/pcache1.c +++ b/src/pcache1.c @@ -981,6 +981,11 @@ void sqlite3PCacheSetDefault(void){ sqlite3_config(SQLITE_CONFIG_PCACHE2, &defaultMethods); } +/* +** Return the size of the header on each page of this PCACHE implementation. +*/ +int sqlite3HeaderSizePcache1(void){ return sizeof(PgHdr1); } + #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT /* ** This function is called to free superfluous dynamically allocated memory |