From eb8d30f9122748c70fab74445205011a58c5988e Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 9 Apr 2007 16:35:11 +0000 Subject: Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15 --- ext/pdo_sqlite/sqlite/src/update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/pdo_sqlite/sqlite/src/update.c') diff --git a/ext/pdo_sqlite/sqlite/src/update.c b/ext/pdo_sqlite/sqlite/src/update.c index f1cd038b21..07647a3d56 100644 --- a/ext/pdo_sqlite/sqlite/src/update.c +++ b/ext/pdo_sqlite/sqlite/src/update.c @@ -465,7 +465,7 @@ void sqlite3Update( /* Create the new index entries and the new record. */ - sqlite3CompleteInsertion(pParse, pTab, iCur, aIdxUsed, chngRowid, 1, -1); + sqlite3CompleteInsertion(pParse, pTab, iCur, aIdxUsed, chngRowid, 1, -1, 0); } /* Increment the row counter @@ -617,6 +617,7 @@ static void updateVirtualTable( sqlite3VdbeOp3(v, OP_VUpdate, 0, pTab->nCol+2, (const char*)pTab->pVtab, P3_VTAB); sqlite3VdbeAddOp(v, OP_Next, ephemTab, addr); + sqlite3VdbeJumpHere(v, addr-1); sqlite3VdbeAddOp(v, OP_Close, ephemTab, 0); /* Cleanup */ -- cgit v1.2.1