Lines Matching defs:pQuery
2021 sqlite3_stmt *pQuery = 0;
2033 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2040 n = sqlite3_column_count(pQuery);
2062 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2064 switch( sqlite3_column_type(pQuery, i) ){
2070 sqlite3_bind_int64(pInsert, i+1, sqlite3_column_int64(pQuery,i));
2074 sqlite3_bind_double(pInsert, i+1, sqlite3_column_double(pQuery,i));
2079 (const char*)sqlite3_column_text(pQuery,i),
2084 sqlite3_bind_blob(pInsert, i+1, sqlite3_column_blob(pQuery,i),
2085 sqlite3_column_bytes(pQuery,i),
2104 sqlite3_finalize(pQuery);
2108 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2116 sqlite3_finalize(pQuery);
2135 sqlite3_stmt *pQuery = 0;
2144 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2151 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2152 zName = sqlite3_column_text(pQuery, 0);
2153 zSql = sqlite3_column_text(pQuery, 1);
2167 sqlite3_finalize(pQuery);
2171 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2178 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2179 zName = sqlite3_column_text(pQuery, 0);
2180 zSql = sqlite3_column_text(pQuery, 1);
2195 sqlite3_finalize(pQuery);