Home
last modified time | relevance | path

Searched refs:select_statement (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/webkit/browser/database/
Ddatabases_table.cc42 sql::Statement select_statement(db_->GetCachedStatement( in GetDatabaseID() local
44 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() local
61 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 …]
/external/chromium_org/chrome/browser/history/
Dtop_sites_database.cc171 sql::Statement select_statement(db->GetUniqueStatement(kByRankSql)); in FixThumbnailsTable() local
180 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() local
680 select_statement.BindString(0, url.url.spec()); in GetURLRank()
681 if (select_statement.Step()) in GetURLRank()
682 return select_statement.ColumnInt(0); in GetURLRank()