mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
On a DETACH statement, keep all schemas intact except fo the one that is
being detached, and thus avoid unnecessary schema reparsing. FossilOrigin-Name: 661db19b34566642dd44ee4cff4ebc093cb8a552
This commit is contained in:
@@ -298,7 +298,7 @@ static void detachFunc(
|
||||
sqlite3BtreeClose(pDb->pBt);
|
||||
pDb->pBt = 0;
|
||||
pDb->pSchema = 0;
|
||||
sqlite3ResetAllSchemasOfConnection(db);
|
||||
sqlite3CollapseDatabaseArray(db);
|
||||
return;
|
||||
|
||||
detach_error:
|
||||
|
||||
Reference in New Issue
Block a user