Changeset 93395 in webkit
- Timestamp:
- Aug 19, 2011 5:13:20 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93393 r93395 1 2011-08-19 Jochen Eisinger <jochen@chromium.org> 2 3 IDBSQLiteBackingStore::deleteObjectStore should maintain referential integrity. 4 https://bugs.webkit.org/show_bug.cgi?id=66470 5 6 Reviewed by Tony Gentilcore. 7 8 * storage/IDBSQLiteBackingStore.cpp: 9 (WebCore::IDBSQLiteBackingStore::deleteObjectStore): 10 1 11 2011-08-19 Takashi Toyoshima <toyoshim@chromium.org> 2 12 -
trunk/Source/WebCore/storage/IDBSQLiteBackingStore.cpp
r92950 r93395 294 294 void IDBSQLiteBackingStore::deleteObjectStore(int64_t, int64_t objectStoreId) 295 295 { 296 doDelete(m_db, "DELETE FROM ObjectStores WHERE id = ?", objectStoreId);297 doDelete(m_db, "DELETE FROM ObjectStoreData WHERE objectStoreId = ?", objectStoreId);298 296 doDelete(m_db, "DELETE FROM IndexData WHERE indexId IN (SELECT id FROM Indexes WHERE objectStoreId = ?)", objectStoreId); 299 297 doDelete(m_db, "DELETE FROM Indexes WHERE objectStoreId = ?", objectStoreId); 298 doDelete(m_db, "DELETE FROM ObjectStoreData WHERE objectStoreId = ?", objectStoreId); 299 doDelete(m_db, "DELETE FROM ObjectStores WHERE id = ?", objectStoreId); 300 300 } 301 301
Note: See TracChangeset
for help on using the changeset viewer.