Lines Matching refs:pQuery

2304   sqlite3_stmt *pQuery = 0;   in tryToCloneData()  local
2316 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneData()
2323 n = sqlite3_column_count(pQuery); in tryToCloneData()
2345 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneData()
2347 switch( sqlite3_column_type(pQuery, i) ){ in tryToCloneData()
2353 sqlite3_bind_int64(pInsert, i+1, sqlite3_column_int64(pQuery,i)); in tryToCloneData()
2357 sqlite3_bind_double(pInsert, i+1, sqlite3_column_double(pQuery,i)); in tryToCloneData()
2362 (const char*)sqlite3_column_text(pQuery,i), in tryToCloneData()
2367 sqlite3_bind_blob(pInsert, i+1, sqlite3_column_blob(pQuery,i), in tryToCloneData()
2368 sqlite3_column_bytes(pQuery,i), in tryToCloneData()
2387 sqlite3_finalize(pQuery); in tryToCloneData()
2391 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneData()
2399 sqlite3_finalize(pQuery); in tryToCloneData()
2418 sqlite3_stmt *pQuery = 0; in tryToCloneSchema() local
2427 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneSchema()
2434 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneSchema()
2435 zName = sqlite3_column_text(pQuery, 0); in tryToCloneSchema()
2436 zSql = sqlite3_column_text(pQuery, 1); in tryToCloneSchema()
2450 sqlite3_finalize(pQuery); in tryToCloneSchema()
2454 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneSchema()
2461 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneSchema()
2462 zName = sqlite3_column_text(pQuery, 0); in tryToCloneSchema()
2463 zSql = sqlite3_column_text(pQuery, 1); in tryToCloneSchema()
2478 sqlite3_finalize(pQuery); in tryToCloneSchema()