mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Use a statement journal on a CREATE VIRTUAL TABLE statement in case the
VCreate opcode fails. FossilOrigin-Name: aa3b0eb8c3438ddd3b660bc6bce4b1f4a0e3b5ec897079445231ee1b61210d6a
This commit is contained in:
@@ -457,6 +457,8 @@ void sqlite3VtabFinishParse(Parse *pParse, Token *pEnd){
|
||||
int iReg;
|
||||
Vdbe *v;
|
||||
|
||||
sqlite3MayAbort(pParse);
|
||||
|
||||
/* Compute the complete text of the CREATE VIRTUAL TABLE statement */
|
||||
if( pEnd ){
|
||||
pParse->sNameToken.n = (int)(pEnd->z - pParse->sNameToken.z) + pEnd->n;
|
||||
|
Reference in New Issue
Block a user