Index: sql/connection.cc |
diff --git a/sql/connection.cc b/sql/connection.cc |
index 097edd7a1ea2f57350869b2c4eaedb12db6b6bc1..9cef1bc0be867964df77174326fe8e46b379703e 100644 |
--- a/sql/connection.cc |
+++ b/sql/connection.cc |
@@ -1027,7 +1027,7 @@ int Connection::OnSqliteError(int err, sql::Statement *stmt) { |
AddTaggedHistogram("Sqlite.Error", err); |
// Always log the error. |
- LOG(ERROR) << "sqlite error " << err |
+ LOG(ERROR) << histogram_tag_ << " sqlite error " << err |
Greg Spencer (Chromium)
2013/09/25 18:36:30
Would it make sense to use sqlite3_column_database
Scott Hess - ex-Googler
2013/09/25 19:37:04
http://www.sqlite.org/c3ref/column_database_name.h
|
<< ", errno " << GetLastErrno() |
<< ": " << GetErrorMessage(); |