Home | History | Annotate | Download | only in storage

Lines Matching refs:databases

105     return SQLiteFileSystem::appendDatabaseFileNameToPath(m_databaseDirectoryPath, "Databases.db");
131 if (!m_database.tableExists("Databases")) {
132 if (!m_database.executeCommand("CREATE TABLE Databases (guid INTEGER PRIMARY KEY AUTOINCREMENT, origin TEXT, name TEXT, displayName TEXT, estimatedSize INTEGER, path TEXT);")) {
134 LOG_ERROR("Failed to create Databases table");
212 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?;");
292 SQLiteStatement statement(m_database, "SELECT path FROM Databases WHERE origin=? AND name=?;");
377 SQLiteStatement statement(m_database, "SELECT name FROM Databases where origin=?;");
428 SQLiteStatement statement(m_database, "SELECT displayName, estimatedSize FROM Databases WHERE origin=? AND name=?");
460 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?");
485 SQLiteStatement updateStatement(m_database, "UPDATE Databases SET displayName=?, estimatedSize=? WHERE guid=?");
597 void DatabaseTracker::getOpenDatabases(SecurityOrigin* origin, const String& name, HashSet<RefPtr<AbstractDatabase> >* databases)
612 databases->add(*it);
715 SQLiteStatement statement(m_database, "INSERT INTO Databases (origin, name, path) VALUES (?, ?, ?);");
744 // It is the caller's responsibility to make sure that nobody is trying to create, delete, open, or close databases in this origin while the deletion is
779 SQLiteStatement statement(m_database, "DELETE FROM Databases WHERE origin=?");
781 LOG_ERROR("Unable to prepare deletion of databases from origin %s from tracker", origin->databaseIdentifier().ascii().data());
788 LOG_ERROR("Unable to execute deletion of databases from origin %s from tracker", origin->databaseIdentifier().ascii().data());
801 LOG_ERROR("Unable to execute deletion of databases from origin %s from tracker", origin->databaseIdentifier().ascii().data());
970 SQLiteStatement statement(m_database, "DELETE FROM Databases WHERE origin=? AND name=?");
1000 // deleteDatabaseFile has to release locks between looking up the list of databases to close and closing them. While this is in progress, the caller
1001 // is responsible for making sure no new databases are opened in the file to be deleted.
1023 // There are some open databases, lets check if they are for this origin.
1026 // There are some open databases for this origin, let's check