Lines Matching refs:pStmt
39 sqlite3_stmt *pStmt = 0; /* The current SQL statement */
53 pStmt = 0;
54 rc = sqlite3_prepare(db, zSql, -1, &pStmt, &zLeftover);
55 assert( rc==SQLITE_OK || pStmt==0 );
59 if( !pStmt ){
66 nCol = sqlite3_column_count(pStmt);
70 rc = sqlite3_step(pStmt);
82 azCols[i] = (char *)sqlite3_column_name(pStmt, i);
92 azVals[i] = (char *)sqlite3_column_text(pStmt, i);
93 if( !azVals[i] && sqlite3_column_type(pStmt, i)!=SQLITE_NULL ){
101 sqlite3VdbeFinalize((Vdbe *)pStmt);
102 pStmt = 0;
109 rc = sqlite3VdbeFinalize((Vdbe *)pStmt);
110 pStmt = 0;
125 if( pStmt ) sqlite3VdbeFinalize((Vdbe *)pStmt);