aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c1
-rw-r--r--src/vdbeapi.c2
-rw-r--r--src/vdbeaux.c1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index 1ed7216d1..caaf2f429 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -755,7 +755,6 @@ int sqlite3VdbeExec(
assert( p->bIsReader || p->readOnly!=0 );
p->iCurrentTime = 0;
assert( p->explain==0 );
- p->pResultRow = 0;
db->busyHandler.nBusy = 0;
if( AtomicLoad(&db->u1.isInterrupted) ) goto abort_due_to_interrupt;
sqlite3VdbeIOTraceSql(p);
diff --git a/src/vdbeapi.c b/src/vdbeapi.c
index 34727c30e..e080449c5 100644
--- a/src/vdbeapi.c
+++ b/src/vdbeapi.c
@@ -753,7 +753,7 @@ static int sqlite3Step(Vdbe *p){
/* If the statement completed successfully, invoke the profile callback */
checkProfileCallback(db, p);
#endif
-
+ p->pResultRow = 0;
if( rc==SQLITE_DONE && db->autoCommit ){
assert( p->rc==SQLITE_OK );
p->rc = doWalCallbacks(db);
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index bcd67020e..4ce2e9ec9 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -2316,7 +2316,6 @@ int sqlite3VdbeList(
** sqlite3_column_text16(), causing a translation to UTF-16 encoding.
*/
releaseMemArray(pMem, 8);
- p->pResultRow = 0;
if( p->rc==SQLITE_NOMEM ){
/* This happens if a malloc() inside a call to sqlite3_column_text() or