Home
last modified time | relevance | path

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

/external/chromium_org/storage/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.cc174 sql::Statement select_statement(db->GetUniqueStatement(kByRankSql)); in FixThumbnailsTable() local
183 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() local
683 select_statement.BindString(0, url.url.spec()); in GetURLRank()
684 if (select_statement.Step()) in GetURLRank()
685 return select_statement.ColumnInt(0); in GetURLRank()