Lines Matching refs:sqlite3_step

674 ** [sqlite3_prepare_v2()], [sqlite3_step()], and [sqlite3_finalize()],
780 #define SQLITE_ROW 100 /* sqlite3_step() has another row ready */
781 #define SQLITE_DONE 101 /* sqlite3_step() has finished executing */
3053 ** the handler returns 0 which causes [sqlite3_step()] to return
3402 ** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their
3406 ** statement might be re-prepared during [sqlite3_step()] due to a
3408 ** correct authorizer callback remains in place during the [sqlite3_step()].
3412 ** performed during statement evaluation in [sqlite3_step()], unless
3413 ** as stated in the previous paragraph, sqlite3_step() invokes
3503 ** various times when an SQL statement is being run by [sqlite3_step()].
3628 ** [sqlite3_exec()], [sqlite3_step()] and [sqlite3_get_table()] for
3650 ** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their
4192 ** <li> Run the SQL by calling [sqlite3_step()] one or more times.
4395 ** executed using [sqlite3_step()]. ^If there is an error, *ppStmt is set
4411 ** original SQL text. This causes the [sqlite3_step()] interface to
4417 ** always used to do, [sqlite3_step()] will automatically recompile the SQL
4419 ** retries will occur before sqlite3_step() gives up and returns an error.
4423 ** ^When an error occurs, [sqlite3_step()] will return one of the detailed
4425 ** [sqlite3_step()] would only return a generic [SQLITE_ERROR] result code
4435 ** a schema change, on the first [sqlite3_step()] call following any change
4605 ** [sqlite3_step(S)] but has neither run to completion (returned
4606 ** [SQLITE_DONE] from [sqlite3_step(S)]) nor
4797 ** [sqlite3_step()] has been called more recently than [sqlite3_reset()],
4939 ** reprepared by the first call to [sqlite3_step()] for a particular run
4968 ** reprepared by the first call to [sqlite3_step()] for a particular run
5047 ** The details of the behavior of the sqlite3_step() interface depend
5068 ** successfully. sqlite3_step() should not be called again on this virtual
5075 ** sqlite3_step() is called again to retrieve the next row of data.
5078 ** violation) has occurred. sqlite3_step() should not be called again on
5084 ** the more specific error code is returned directly by sqlite3_step().
5094 ** [sqlite3_reset()] was required after sqlite3_step() returned anything
5096 ** sqlite3_step(). Failure to reset the prepared statement using
5098 ** sqlite3_step(). But after [version 3.6.23.1] ([dateof:3.6.23.1],
5099 ** sqlite3_step() began
5106 ** <b>Goofy Interface Alert:</b> In the legacy interface, the sqlite3_step()
5117 ** by sqlite3_step(). The use of the "vX" interfaces is recommended.
5119 SQLITE_API int sqlite3_step(sqlite3_stmt*);
5132 ** [sqlite3_step](P) returned [SQLITE_DONE]. ^The sqlite3_data_count(P)
5133 ** will return non-zero if previous call to [sqlite3_step](P) returned
5213 ** [sqlite3_step()] has returned [SQLITE_ROW] and neither
5216 ** [sqlite3_finalize()] or after [sqlite3_step()] has returned
5218 ** If [sqlite3_step()] or [sqlite3_reset()] or [sqlite3_finalize()]
5357 ** described above, or until [sqlite3_step()] or [sqlite3_reset()] or
5409 ** to [sqlite3_step()] regardless of whether or not the statement has
5435 ** ^If the most recent call to [sqlite3_step(S)] for the
5437 ** or if [sqlite3_step(S)] has never before been called on S,
5440 ** ^If the most recent call to [sqlite3_step(S)] for the
6699 ** completion of the [sqlite3_step()] call that triggered the commit
6702 ** or merely calling [sqlite3_prepare_v2()] and [sqlite3_step()] will modify
6827 ** completion of the [sqlite3_step()] call that triggered the update hook.
6828 ** Note that [sqlite3_prepare_v2()] and [sqlite3_step()] both modify their
8772 ** or more calls to [sqlite3_step()] followed by a call to [sqlite3_reset()].
8773 ** The counter is incremented on the first [sqlite3_step()] call of each
9254 ** callback is invoked from within the [sqlite3_step] or [sqlite3_close]
9327 ** When a call to [sqlite3_step()] returns SQLITE_LOCKED, it is almost
9338 ** by an sqlite3_step() call. ^(If there is a blocking connection, then the
10139 ** to sqlite3_step() but not sqlite3_reset() or sqlite3_finalize()).
32223 ** during statement execution (sqlite3_step() etc.).
49279 rc = sqlite3_step(pStmt);
49353 rc = sqlite3_step(pStmt);
81152 ** listing has finished and sqlite3_step() should return SQLITE_DONE.
81752 ** be called on an SQL statement before sqlite3_step().
82402 ** Each VDBE holds the result of the most recent sqlite3_step() call
82495 ** to sqlite3_step(). For consistency (since sqlite3_step() was
85063 ** outer sqlite3_step() wrapper procedure.
85072 ** sqlite3_step() after any error or after SQLITE_DONE. But beginning
85084 ** previous sqlite3_step() returned something other than a SQLITE_LOCKED
85195 ** This is the top-level implementation of sqlite3_step(). Call
85199 SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
85810 ** as if there had been a schema change, on the first sqlite3_step() call
87397 ** This is the core of sqlite3_step().
87429 assert( p->iVdbeMagic==VDBE_MAGIC_RUN ); /* sqlite3_step() verifies this */
87634 ** checks on every opcode. This helps sqlite3_step() to run about 1.5%
88213 ** results. This opcode causes the sqlite3_step() call to terminate
90362 ** halts. The sqlite3_step() wrapper function might then reprepare the
90447 ** to be invalidated whenever sqlite3_step() is called from within
94218 ** is executed using sqlite3_step() it will either automatically
95249 rc = sqlite3_step(p->pStmt);
111949 while( sqlite3_step(pStmt)==SQLITE_ROW ){
112002 while( sqlite3_step(pStmt)==SQLITE_ROW ){
125618 ** sqlite3_step() returns immediately with a
125623 ** cause sqlite3_step() to return immediately
127217 rc = sqlite3_step(pStmt);
127788 #define sqlite3_step sqlite3_api->step
128209 sqlite3_step,
132086 if( SQLITE_ROW!=sqlite3_step(pCsr->pPragma) ){
133093 ** sqlite3_step(). In the new version, the original SQL text is retained
133209 ** sqlite3_step(). In the new version, the original SQL text is retained
136438 ** Then the OP_ResultRow opcode is used to cause sqlite3_step() to
144104 while( SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
173399 sqlite3_step(pStmt);
174483 if( SQLITE_ROW==sqlite3_step(pCsr->pStmt) ){
175634 while( rc==SQLITE_OK && SQLITE_ROW==(rc = sqlite3_step(pStmt)) ){
175886 if( SQLITE_ROW!=sqlite3_step(pCsr->pStmt) ){
182019 sqlite3_step(pStmt);
182042 if( SQLITE_ROW==sqlite3_step(pStmt) ){
183312 rc = sqlite3_step(pStmt);
183335 if( sqlite3_step(pStmt)!=SQLITE_ROW
183374 sqlite3_step(pStmt);
183403 sqlite3_step(pStmt);
183885 sqlite3_step(pContentInsert);
183947 if( SQLITE_ROW==sqlite3_step(pSelect) ){
184015 if( SQLITE_ROW==sqlite3_step(pNextIdx) ){
184804 sqlite3_step(pStmt);
184823 if( SQLITE_ROW==sqlite3_step(pStmt) ){
184861 sqlite3_step(pStmt);
185136 if( SQLITE_ROW==sqlite3_step(pStmt) ){
185319 if( SQLITE_ROW==sqlite3_step(pStmt) ){
185358 if( SQLITE_ROW==sqlite3_step(pStmt) ){
185389 if( SQLITE_ROW==sqlite3_step(pStmt) ){
185411 sqlite3_step(pDelete);
185470 sqlite3_step(pDelete);
186006 while( SQLITE_ROW==sqlite3_step(pRange) ){
186046 while( SQLITE_ROW==sqlite3_step(pRange) ){
186050 sqlite3_step(pUpdate1);
186065 sqlite3_step(pUpdate2);
186205 rc = sqlite3_step(pStmt);
186285 sqlite3_step(pStmt);
186334 if( sqlite3_step(pStmt)==SQLITE_ROW ){
186370 sqlite3_step(pStmt);
186393 while( sqlite3_step(pAllLangid)==SQLITE_ROW ){
186455 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
186529 for(i=0; rc==SQLITE_OK && sqlite3_step(pStmt)==SQLITE_ROW && i<nSeg; i++){
187088 if( SQLITE_ROW==sqlite3_step(pCheck) ) bRes = 1;
187135 if( sqlite3_step(pSelect)==SQLITE_ROW ){
187273 sqlite3_step(pOutputIdx);
187325 if( SQLITE_ROW==sqlite3_step(pLeafEst) ){
187335 if( SQLITE_ROW==sqlite3_step(pFirstBlock) ){
187384 sqlite3_step(pDelete);
187412 while( SQLITE_ROW==sqlite3_step(pSelect) ){
187442 sqlite3_step(pUpdate);
187549 if( SQLITE_ROW==sqlite3_step(pFetch) ){
187581 sqlite3_step(pDel);
187594 sqlite3_step(pChomp);
187674 sqlite3_step(pReplace);
187699 if( SQLITE_ROW==sqlite3_step(pSelect) ){
187810 if( sqlite3_step(pFindLevel)==SQLITE_ROW ){
188032 sqlite3_step(pStmt);
188161 while( rc==SQLITE_OK && sqlite3_step(pAllLangid)==SQLITE_ROW ){
188186 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
194821 sqlite3_step(p);
195699 rc = sqlite3_step(pCsr->pReadAux);
195730 if( sqlite3_step(pRtree->pReadRowid)==SQLITE_ROW ){
196243 sqlite3_step(pRtree->pWriteRowid);
196253 sqlite3_step(pRtree->pWriteParent);
196678 rc = sqlite3_step(pRtree->pReadParent);
196733 sqlite3_step(pRtree->pDeleteNode);
196740 sqlite3_step(pRtree->pDeleteParent);
196988 sqlite3_step(pRtree->pWriteRowid);
197034 sqlite3_step(pRtree->pDeleteRowid);
197242 steprc = sqlite3_step(pRtree->pReadRowid);
197298 sqlite3_step(pUp);
197400 if( sqlite3_step(p)==SQLITE_ROW ) nRow = sqlite3_column_int64(p, 0);
197591 if( SQLITE_ROW==sqlite3_step(pStmt) ){
197992 if( sqlite3_step(pCheck->pGetNode)==SQLITE_ROW ){
198047 rc = sqlite3_step(pStmt);
198192 if( sqlite3_step(pCount)==SQLITE_ROW ){
198253 }else if( SQLITE_ROW==sqlite3_step(pStmt) ){
199896 rc = sqlite3_step(pCsr->pReadAux);
199983 steprc = sqlite3_step(pRtree->pReadRowid);
200055 sqlite3_step(pUp);
202664 rc = sqlite3_step(pIter->pTblIter);
202679 rc = sqlite3_step(pIter->pIdxIter);
202992 if( p->rc!=SQLITE_OK || sqlite3_step(aStmt[0])!=SQLITE_ROW ){
203006 while( sqlite3_step(aStmt[1])==SQLITE_ROW ){
203015 if( sqlite3_step(aStmt[2])==SQLITE_ROW ){
203030 while( sqlite3_step(aStmt[3])==SQLITE_ROW ){
203063 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pList) ){
203074 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
203172 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
203295 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pMax) ){
203312 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pMax) ){
203365 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
203410 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pSel) ){
203489 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
203772 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXList) ){
203786 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
203838 if( SQLITE_ROW==sqlite3_step(pQuery) ){
203849 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pXInfo) ){
203989 sqlite3_step(p->objiter.pTmpInsert);
204013 if( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
204484 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
204598 && sqlite3_step(pCnt)==SQLITE_ROW
205212 sqlite3_step(pWriter);
205277 sqlite3_step(pUpdate);
205303 /* Coverage: it may be that this sqlite3_step() cannot fail. There
205308 if( SQLITE_ROW==sqlite3_step(pStmt) ){
205360 sqlite3_step(pInsert);
205391 if( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pPragma) ){
205419 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
205438 while( p->rc==SQLITE_OK && sqlite3_step(pSql)==SQLITE_ROW ){
205443 sqlite3_step(pInsert);
205487 int rc = sqlite3_step(pIter->pSelect);
205704 if( SQLITE_ROW==sqlite3_step(pStmt) ){
205752 if( SQLITE_ROW==sqlite3_step(pStmt) ){
205764 if( SQLITE_ROW==sqlite3_step(pStmt) ){
207714 rc = sqlite3_step(pCsr->pStmt);
209509 while( SQLITE_ROW==sqlite3_step(pStmt) ){
209534 while( SQLITE_ROW==sqlite3_step(pStmt) ){
210139 while( SQLITE_ROW==sqlite3_step(pStmt) ){
210178 while( SQLITE_ROW==sqlite3_step(pStmt) ){
211057 if( sqlite3_step(pSel)==SQLITE_ROW ){
212646 rc = sqlite3_step(pSelect);
212874 sqlite3_step(p->pDelete);
212908 sqlite3_step(pUp);
212944 sqlite3_step(p->pInsert);
213007 sqlite3_step(pApply->pDelete);
219261 while( SQLITE_ROW==sqlite3_step(p) ){
223680 sqlite3_step(p->pWriter);
223704 sqlite3_step(p->pDeleter);
223724 sqlite3_step(p->pIdxDeleter);
223993 if( SQLITE_ROW==sqlite3_step(p->pDataVersion) ){
225370 if( SQLITE_ROW==sqlite3_step(pIdxSelect) ){
226609 assert_nc( sqlite3_step(pIdxSelect)!=SQLITE_ROW );
226736 sqlite3_step(p->pIdxWriter);
229018 while( p->rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pStmt) ){
230544 rc = sqlite3_step(pSorter->pStmt);
230669 rc = sqlite3_step(pCsr->pStmt);
230853 if( SQLITE_ROW==sqlite3_step(pStmt) ){
231215 rc = sqlite3_step(pCsr->pStmt);
233075 if( sqlite3_step(pSeek)!=SQLITE_ROW ){
233140 sqlite3_step(pReplace);
233214 sqlite3_step(pDel);
233226 sqlite3_step(pDel);
233286 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pScan) ){
233352 sqlite3_step(pReplace);
233388 sqlite3_step(pInsert);
233457 if( SQLITE_ROW==sqlite3_step(pCnt) ){
233580 while( SQLITE_ROW==sqlite3_step(pScan) ){
233736 if( SQLITE_ROW==sqlite3_step(pLookup) ){
233823 sqlite3_step(pReplace);
236731 if( pStmt && sqlite3_step(pStmt)==SQLITE_ROW ){