Index: chrome/common/sqlite_utils.cc |
=================================================================== |
--- chrome/common/sqlite_utils.cc (revision 19737) |
+++ chrome/common/sqlite_utils.cc (working copy) |
@@ -221,6 +221,11 @@ |
return sqlite3_last_insert_rowid(db_handle()); |
} |
+int SQLStatement::changes() { |
+ DCHECK(stmt_); |
+ return sqlite3_changes(db_handle()); |
+} |
+ |
sqlite3* SQLStatement::db_handle() { |
DCHECK(stmt_); |
return sqlite3_db_handle(stmt_); |