Reviewed by Hyatt
[WebKit-https.git] / WebCore / loader / icon / SQLDatabase.cpp
index 4b595a76f3bebd8acc3ba150b32163db89137833..8c62eff05a5450e42a89792969c4b38c7fe38548 100644 (file)
@@ -149,6 +149,13 @@ int64_t SQLDatabase::lastInsertRowID()
     return sqlite3_last_insert_rowid(m_db);
 }
 
+int SQLDatabase::lastChanges()
+{
+    if (!m_db)
+        return 0;
+    return sqlite3_changes(m_db);
+}
+
 } // namespace WebCore