Lines Matching refs:pQuery

2282   sqlite3_stmt *pQuery = 0;   in tryToCloneData()  local
2294 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneData()
2301 n = sqlite3_column_count(pQuery); in tryToCloneData()
2323 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneData()
2325 switch( sqlite3_column_type(pQuery, i) ){ in tryToCloneData()
2331 sqlite3_bind_int64(pInsert, i+1, sqlite3_column_int64(pQuery,i)); in tryToCloneData()
2335 sqlite3_bind_double(pInsert, i+1, sqlite3_column_double(pQuery,i)); in tryToCloneData()
2340 (const char*)sqlite3_column_text(pQuery,i), in tryToCloneData()
2345 sqlite3_bind_blob(pInsert, i+1, sqlite3_column_blob(pQuery,i), in tryToCloneData()
2346 sqlite3_column_bytes(pQuery,i), in tryToCloneData()
2365 sqlite3_finalize(pQuery); in tryToCloneData()
2369 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneData()
2377 sqlite3_finalize(pQuery); in tryToCloneData()
2396 sqlite3_stmt *pQuery = 0; in tryToCloneSchema() local
2405 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneSchema()
2412 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneSchema()
2413 zName = sqlite3_column_text(pQuery, 0); in tryToCloneSchema()
2414 zSql = sqlite3_column_text(pQuery, 1); in tryToCloneSchema()
2428 sqlite3_finalize(pQuery); in tryToCloneSchema()
2432 rc = sqlite3_prepare_v2(p->db, zQuery, -1, &pQuery, 0); in tryToCloneSchema()
2439 while( (rc = sqlite3_step(pQuery))==SQLITE_ROW ){ in tryToCloneSchema()
2440 zName = sqlite3_column_text(pQuery, 0); in tryToCloneSchema()
2441 zSql = sqlite3_column_text(pQuery, 1); in tryToCloneSchema()
2456 sqlite3_finalize(pQuery); in tryToCloneSchema()