aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-12-29 00:52:41 +0000
committerdrh <drh@noemail.net>2019-12-29 00:52:41 +0000
commitbe3da24134f53a0c8f10291611af758dc0ced611 (patch)
treea5ed589b142b6d9ab3230a9f85c106f2ee161788 /src/sqliteInt.h
parent997d7434b7688f9fbd48fdacdbf1769e2f4cccbe (diff)
downloadsqlite-be3da24134f53a0c8f10291611af758dc0ced611.tar.gz
sqlite-be3da24134f53a0c8f10291611af758dc0ced611.zip
Add the OP_FinishSeek opcode which completes an OP_DeferredSeek if the seek
has not already completed. Also add the sqlite3WhereUsesDeferredSeek() interface to the query planner. The UPDATE implementation adds an OP_FinishSeek before running the final OP_Insert if one is needed. Ticket [ec8abb025e78f40c] and also an assertion fault reported by Yongheng. FossilOrigin-Name: 21ef6e99331210b80fa7c71b4f02e8f768a748d01aef884368af2f6b51a067e0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index c1ed684ff..84f8e1e5c 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -4115,6 +4115,7 @@ int sqlite3WhereOkOnePass(WhereInfo*, int*);
#define ONEPASS_OFF 0 /* Use of ONEPASS not allowed */
#define ONEPASS_SINGLE 1 /* ONEPASS valid for a single row update */
#define ONEPASS_MULTI 2 /* ONEPASS is valid for multiple rows */
+int sqlite3WhereUsesDeferredSeek(WhereInfo*);
void sqlite3ExprCodeLoadIndexColumn(Parse*, Index*, int, int, int);
int sqlite3ExprCodeGetColumn(Parse*, Table*, int, int, int, u8);
void sqlite3ExprCodeGetColumnOfTable(Vdbe*, Table*, int, int, int);