Lines Matching defs:pQuery
2041 sqlite3_stmt *pQuery = 0;
2053 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2060 n = sqlite3_column_count(pQuery);
2082 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2084 switch( sqlite3_column_type(pQuery, i) ){
2090 sqlite3_bind_int64(pInsert, i+1, sqlite3_column_int64(pQuery,i));
2094 sqlite3_bind_double(pInsert, i+1, sqlite3_column_double(pQuery,i));
2099 (const char*)sqlite3_column_text(pQuery,i),
2104 sqlite3_bind_blob(pInsert, i+1, sqlite3_column_blob(pQuery,i),
2105 sqlite3_column_bytes(pQuery,i),
2124 sqlite3_finalize(pQuery);
2128 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2136 sqlite3_finalize(pQuery);
2155 sqlite3_stmt *pQuery = 0;
2164 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2171 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2172 zName = sqlite3_column_text(pQuery, 0);
2173 zSql = sqlite3_column_text(pQuery, 1);
2187 sqlite3_finalize(pQuery);
2191 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0);
2198 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){
2199 zName = sqlite3_column_text(pQuery, 0);
2200 zSql = sqlite3_column_text(pQuery, 1);
2215 sqlite3_finalize(pQuery);