1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Fix SQLITE_DBSTATUS_SCHEMA_USED so that it works with SQLITE_OPEN_SHARED_SCHEMA connections.

FossilOrigin-Name: d43b3c056cb13930865c504c9498b2c83e4bebce9bff01ee21293e7dc7a6711e
This commit is contained in:
dan
2019-02-14 21:04:27 +00:00
parent d746d250f0
commit 61155cb70b
9 changed files with 94 additions and 21 deletions

View File

@ -33,9 +33,9 @@ database is treated as empty. This usually means that corruption results in
a "no such table: xxx" error instead of a more specific error message.
For SQLITE_OPEN_SHARED_SCHEMA connections, the
SQLITE_DBSTATUS_SCHEMA_USED sqlite3_db_used() distributes
the memory used for a shared schema object evenly between all database
connections that share it.
SQLITE_DBSTATUS_SCHEMA_USED sqlite3_db_status() verb
distributes the memory used for a shared schema object evenly between all
database connections that share it.
## Implementation Notes