aboutsummaryrefslogtreecommitdiff
path: root/src/resolve.c
diff options
context:
space:
mode:
authordrh <>2021-09-24 12:59:33 +0000
committerdrh <>2021-09-24 12:59:33 +0000
commitebd1ff62c55cbe41721609a653713259181c45b6 (patch)
tree5388ce8baea1df82a0aff1a193077c54dd5c3a92 /src/resolve.c
parent2a6a72a81cbd0df057be37e4ee514c68c7f64664 (diff)
downloadsqlite-ebd1ff62c55cbe41721609a653713259181c45b6.tar.gz
sqlite-ebd1ff62c55cbe41721609a653713259181c45b6.zip
Ensure that sqlite_stat1 and sqlite_stat4 are ordinary tables (not views or
virtual tables) before trying to load them (dbsqlfuzz bc02a0cde82dee801a8d6f653d2831680f87dca1). This prevents sqlite3_declare_vtab() from running with db->init.busy turned on. Even so, enhance sqlite3_declare_vtab() to be able to deal with db->init.busy being on, in case there are undiscovered paths to that state. Each of these two changes are independently sufficient to prevent the problem fixed by the previous check-in [c7560c1329965ab5] but there is no harm in keeping that third layer of protection in place. FossilOrigin-Name: eb94f4a8174436b1f0deed0a43618a20018387bb815be658314ca6b454c446fb
Diffstat (limited to 'src/resolve.c')
0 files changed, 0 insertions, 0 deletions