diff options
author | drh <> | 2021-09-24 02:14:35 +0000 |
---|---|---|
committer | drh <> | 2021-09-24 02:14:35 +0000 |
commit | 2a6a72a81cbd0df057be37e4ee514c68c7f64664 (patch) | |
tree | 64661cc5b34abdcc83d0da9807740fcc4e3e54a7 /src/main.c | |
parent | dd31c033c602bc75d04c8b6470684d0506861d6b (diff) | |
download | sqlite-2a6a72a81cbd0df057be37e4ee514c68c7f64664.tar.gz sqlite-2a6a72a81cbd0df057be37e4ee514c68c7f64664.zip |
Ensure that the db->init.azInit array is initialized at all times.
dbsqlfuzz 0ad6d441f9bf3dfc32626a9900bc1700495b16f9
FossilOrigin-Name: c7560c1329965ab57cd71393c044b110561b83641d08677bc51044df9e377882
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index e0dcf3923..65fe4a668 100644 --- a/src/main.c +++ b/src/main.c @@ -3205,6 +3205,7 @@ static int openDatabase( db->nextAutovac = -1; db->szMmap = sqlite3GlobalConfig.szMmap; db->nextPagesize = 0; + db->init.azInit = sqlite3StdType; /* Any array of string ptrs will do */ #ifdef SQLITE_ENABLE_SORTER_MMAP /* Beginning with version 3.37.0, using the VFS xFetch() API to memory-map ** the temporary files used to do external sorts (see code in vdbesort.c) |