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 …]
174 sql::Statement select_statement(db->GetUniqueStatement(kByRankSql)); in FixThumbnailsTable() local183 while (select_statement.Step()) { in FixThumbnailsTable()184 const int url_rank = select_statement.ColumnInt(0); in FixThumbnailsTable()189 update_statement.BindInt64(1, select_statement.ColumnInt64(1)); in FixThumbnailsTable()679 sql::Statement select_statement(db_->GetCachedStatement( in GetURLRank() local683 select_statement.BindString(0, url.url.spec()); in GetURLRank()684 if (select_statement.Step()) in GetURLRank()685 return select_statement.ColumnInt(0); in GetURLRank()