mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Faster and slightly smaller implementation of sqlite3Step().
FossilOrigin-Name: c6901a8c78838228f8135c9346b214e638b72086fd85367b9ff482273e62ece6
This commit is contained in:
@@ -731,7 +731,12 @@ static int sqlite3Step(Vdbe *p){
|
||||
db->nVdbeExec--;
|
||||
}
|
||||
|
||||
if( rc!=SQLITE_ROW ){
|
||||
if( rc==SQLITE_ROW ){
|
||||
assert( p->rc==SQLITE_OK );
|
||||
assert( db->mallocFailed==0 );
|
||||
db->errCode = SQLITE_ROW;
|
||||
return SQLITE_ROW;
|
||||
}else{
|
||||
#ifndef SQLITE_OMIT_TRACE
|
||||
/* If the statement completed successfully, invoke the profile callback */
|
||||
checkProfileCallback(db, p);
|
||||
|
Reference in New Issue
Block a user