diff options
author | drh <drh@noemail.net> | 2017-08-17 02:26:35 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-08-17 02:26:35 +0000 |
commit | dc6b41ed4791d3ccfb2a311df03d32b09220a690 (patch) | |
tree | 37cd93f6c029dd73fcac84c768877146a1d4bada /src/callback.c | |
parent | fe0cf7a18c665b991a87e8329788563b750f9d9d (diff) | |
download | sqlite-dc6b41ed4791d3ccfb2a311df03d32b09220a690.tar.gz sqlite-dc6b41ed4791d3ccfb2a311df03d32b09220a690.zip |
Defer schema resets when the query planner is running.
Proposed fix for ticket [be436a7f4587ce517].
FossilOrigin-Name: a7bc7752ba0266684f5317e424a4ee9add4af002272082183519e708ab9ffc79
Diffstat (limited to 'src/callback.c')
-rw-r--r-- | src/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c index 10505414c..e08924b2c 100644 --- a/src/callback.c +++ b/src/callback.c @@ -457,8 +457,8 @@ void sqlite3SchemaClear(void *p){ pSchema->pSeqTab = 0; if( pSchema->schemaFlags & DB_SchemaLoaded ){ pSchema->iGeneration++; - pSchema->schemaFlags &= ~DB_SchemaLoaded; } + pSchema->schemaFlags &= ~(DB_SchemaLoaded|DB_ResetWanted); } /* |