Searched refs:select_statement (Results 1 – 2 of 2) sorted by relevance
42 sql::Statement select_statement(db_->GetCachedStatement( in GetDatabaseID() local44 select_statement.BindString(0, origin_identifier); in GetDatabaseID()45 select_statement.BindString16(1, database_name); in GetDatabaseID()47 if (select_statement.Step()) { in GetDatabaseID()48 return select_statement.ColumnInt64(0); in GetDatabaseID()58 sql::Statement select_statement(db_->GetCachedStatement( in GetDatabaseDetails() local61 select_statement.BindString(0, origin_identifier); in GetDatabaseDetails()62 select_statement.BindString16(1, database_name); in GetDatabaseDetails()64 if (select_statement.Step()) { in GetDatabaseDetails()67 details->description = select_statement.ColumnString16(0); in GetDatabaseDetails()[all …]
171 sql::Statement select_statement(db->GetUniqueStatement(kByRankSql)); in FixThumbnailsTable() local180 while (select_statement.Step()) { in FixThumbnailsTable()181 const int url_rank = select_statement.ColumnInt(0); in FixThumbnailsTable()186 update_statement.BindInt64(1, select_statement.ColumnInt64(1)); in FixThumbnailsTable()676 sql::Statement select_statement(db_->GetCachedStatement( in GetURLRank() local680 select_statement.BindString(0, url.url.spec()); in GetURLRank()681 if (select_statement.Step()) in GetURLRank()682 return select_statement.ColumnInt(0); in GetURLRank()