mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Take care not to try to generate code for the ATTACH and DETACH commands
if there were syntax errors during parsing. Fix for ticket [2f1b168ab4d4844] FossilOrigin-Name: b0ff183b8ffdbebece06cfea1c6781fc0e8e8547
This commit is contained in:
@@ -325,6 +325,7 @@ static void codeAttach(
|
||||
sqlite3* db = pParse->db;
|
||||
int regArgs;
|
||||
|
||||
if( pParse->nErr ) goto attach_end;
|
||||
memset(&sName, 0, sizeof(NameContext));
|
||||
sName.pParse = pParse;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user