diff options
author | drh <> | 2022-11-19 00:08:35 +0000 |
---|---|---|
committer | drh <> | 2022-11-19 00:08:35 +0000 |
commit | cf3107c7d47f3da737f2008f85965a4497d84314 (patch) | |
tree | 90dc13184d970e2b6f7335169cf8a45767d1e278 /src/sqliteInt.h | |
parent | 26e0f2e916c2513dcee68e17642285c1d019e678 (diff) | |
download | sqlite-cf3107c7d47f3da737f2008f85965a4497d84314.tar.gz sqlite-cf3107c7d47f3da737f2008f85965a4497d84314.zip |
Databases created using sqlite3_deserialize() should report their filename
as an empty string, not as "x". Fix for ticket [53043c9793715f08].
FossilOrigin-Name: ff494449efd475878c549728cc22ee9b12d13674068781747fc042a0c1bd09c8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index e4b74f6d0..469ce9bba 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -5003,6 +5003,9 @@ const char *sqlite3ErrName(int); #ifndef SQLITE_OMIT_DESERIALIZE int sqlite3MemdbInit(void); +int sqlite3IsMemdb(const sqlite3_vfs*); +#else +# define sqlite3IsMemdb(X) 0 #endif const char *sqlite3ErrStr(int); |