git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reviewed by Hyatt
[WebKit-https.git]
/
WebCore
/
loader
/
icon
/
SQLDatabase.cpp
diff --git
a/WebCore/loader/icon/SQLDatabase.cpp
b/WebCore/loader/icon/SQLDatabase.cpp
index 4b595a76f3bebd8acc3ba150b32163db89137833..8c62eff05a5450e42a89792969c4b38c7fe38548 100644
(file)
--- a/
WebCore/loader/icon/SQLDatabase.cpp
+++ b/
WebCore/loader/icon/SQLDatabase.cpp
@@
-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