mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Fix a bug where a condition was incorrectly being compiled out when SQLITE_OMIT_VIRTUALTABLE was defined.
FossilOrigin-Name: 1958db4493461b3a54217a6a45f2730287107860
This commit is contained in:
@@ -290,12 +290,12 @@ static void resolveP2Values(Vdbe *p, int *pMaxFuncArgs){
|
||||
}else if( opcode==OP_Statement ){
|
||||
hasStatementBegin = 1;
|
||||
p->usesStmtJournal = 1;
|
||||
}else if( opcode==OP_Destroy ){
|
||||
}else if( opcode==OP_Destroy || opcode==OP_Program ){
|
||||
doesStatementRollback = 1;
|
||||
}else if( opcode==OP_Transaction && pOp->p2!=0 ){
|
||||
p->readOnly = 0;
|
||||
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
||||
}else if( opcode==OP_VUpdate || opcode==OP_VRename || opcode==OP_Program ){
|
||||
}else if( opcode==OP_VUpdate || opcode==OP_VRename ){
|
||||
doesStatementRollback = 1;
|
||||
}else if( opcode==OP_VFilter ){
|
||||
int n;
|
||||
|
||||
Reference in New Issue
Block a user