Home
last modified time | relevance | path

Searched refs:sqliteDatabase (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DSQLTransactionBackendSync.cpp139 ASSERT(!m_database->sqliteDatabase().transactionInProgress()); in begin()
143 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); in begin()
146 m_sqliteTransaction = adoptPtr(new SQLiteTransaction(m_database->sqliteDatabase(), m_readOnly)); in begin()
155 ASSERT(!m_database->sqliteDatabase().transactionInProgress()); in begin()
156 …>reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in begin()
158 m_database->sqliteDatabase().lastError(), m_database->sqliteDatabase().lastErrorMsg()); in begin()
169 …>reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in begin()
171 m_database->sqliteDatabase().lastError(), m_database->sqliteDatabase().lastErrorMsg()); in begin()
212 …reportCommitTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in commit()
214 m_database->sqliteDatabase().lastError(), m_database->sqliteDatabase().lastErrorMsg()); in commit()
[all …]
DSQLTransactionBackend.cpp549 ASSERT(!m_database->sqliteDatabase().transactionInProgress()); in openTransactionAndPreflight()
556 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); in openTransactionAndPreflight()
559 m_sqliteTransaction = adoptPtr(new SQLiteTransaction(m_database->sqliteDatabase(), m_readOnly)); in openTransactionAndPreflight()
568 ASSERT(!m_database->sqliteDatabase().transactionInProgress()); in openTransactionAndPreflight()
569 …>reportStartTransactionResult(2, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in openTransactionAndPreflight()
571 m_database->sqliteDatabase().lastError(), m_database->sqliteDatabase().lastErrorMsg()); in openTransactionAndPreflight()
581 …>reportStartTransactionResult(3, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in openTransactionAndPreflight()
583 m_database->sqliteDatabase().lastError(), m_database->sqliteDatabase().lastErrorMsg()); in openTransactionAndPreflight()
629 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); in runStatements()
729 …reportCommitTransactionResult(4, SQLError::DATABASE_ERR, m_database->sqliteDatabase().lastError()); in postflightAndCommit()
[all …]
DDatabaseSync.cpp79 if (sqliteDatabase().transactionInProgress()) { in changeVersion()
95 reportChangeVersionResult(2, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError()); in changeVersion()
96 …astErrorMessage("unable to read the current version", sqliteDatabase().lastError(), sqliteDatabase in changeVersion()
116 reportChangeVersionResult(4, SQLError::UNKNOWN_ERR, sqliteDatabase().lastError()); in changeVersion()
117 …setLastErrorMessage("unable to set the new version", sqliteDatabase().lastError(), sqliteDatabase(… in changeVersion()
157 if (sqliteDatabase().transactionInProgress()) { in runTransaction()
DChangeVersionWrapper.cpp52 int sqliteError = database->sqliteDatabase().lastError(); in performPreflight()
55 sqliteError, database->sqliteDatabase().lastErrorMsg()); in performPreflight()
75 int sqliteError = database->sqliteDatabase().lastError(); in performPostflight()
78 sqliteError, database->sqliteDatabase().lastErrorMsg()); in performPostflight()
DDatabaseBackendBase.h69 SQLiteDatabase& sqliteDatabase() { return m_sqliteDatabase; } in sqliteDatabase() function
DSQLStatementSync.cpp57 SQLiteDatabase* database = &db->sqliteDatabase(); in execute()
DSQLStatementBackend.cpp121 SQLiteDatabase* database = &db->sqliteDatabase(); in execute()
DDatabase.cpp215 … SQLiteStatement statement(sqliteDatabase(), "SELECT name FROM sqlite_master WHERE type='table';"); in performGetTableNames()