Skip to content

Commit 86826ae

Browse files
committed
vdbeExec: remove redundant goto on error path.
This commit also removes a comment that was left over on the previous changeset.
1 parent 64b17b8 commit 86826ae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/vdbe.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8098,11 +8098,10 @@ case OP_VPrepareSql: {
80988098
if( pModule->iVersion>=4 ){
80998099
if( pModule->xPrepareSql && p->zSql ){
81008100
rc = pModule->xPrepareSql(pVCur, p->zSql);
8101-
if( rc ) goto abort_due_to_error; // TODO set and test error msg
8101+
if( rc ) goto abort_due_to_error;
81028102
}
81038103
}
81048104

8105-
if( rc ) goto abort_due_to_error;
81068105
break;
81078106
}
81088107
#endif /* SQLITE_OMIT_VIRTUALTABLE */

0 commit comments

Comments
 (0)