aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/mmapwarm.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-06-19 15:24:12 +0000
committerdrh <drh@noemail.net>2020-06-19 15:24:12 +0000
commit067b92ba00887811d9c54c84621b4cfd6f55e27a (patch)
treee047b726264aad8f2aee65472deafd0b5bda39df /ext/misc/mmapwarm.c
parent1e32bed3c1ce78263598d860d531d3e7e6171929 (diff)
downloadsqlite-067b92ba00887811d9c54c84621b4cfd6f55e27a.tar.gz
sqlite-067b92ba00887811d9c54c84621b4cfd6f55e27a.zip
Extend the refactoring into extensions. Clean up stray newlines.
FossilOrigin-Name: 7a876209a678a34c198b54ceef9e3c041f128a14dc73357f6a57cadadaa6cf7b
Diffstat (limited to 'ext/misc/mmapwarm.c')
-rw-r--r--ext/misc/mmapwarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/mmapwarm.c b/ext/misc/mmapwarm.c
index 970a873f5..5afa47bf7 100644
--- a/ext/misc/mmapwarm.c
+++ b/ext/misc/mmapwarm.c
@@ -43,7 +43,7 @@ int sqlite3_mmap_warm(sqlite3 *db, const char *zDb){
if( 0==sqlite3_get_autocommit(db) ) return SQLITE_MISUSE;
/* Open a read-only transaction on the file in question */
- zSql = sqlite3_mprintf("BEGIN; SELECT * FROM %s%q%ssqlite_master",
+ zSql = sqlite3_mprintf("BEGIN; SELECT * FROM %s%q%ssqlite_schema",
(zDb ? "'" : ""), (zDb ? zDb : ""), (zDb ? "'." : "")
);
if( zSql==0 ) return SQLITE_NOMEM;