Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: sql/connection.cc

Issue 11111021: Remove ref counting on sql::ErrorDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes as requested Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sql/connection.h ('k') | sql/diagnostic_error_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sql/connection.cc
diff --git a/sql/connection.cc b/sql/connection.cc
index ea3dacbb6ba025dc248590a40031cc4a508541f4..94a8cc09baab7873153ba6dd4126199708da7f3b 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -50,9 +50,6 @@ bool StatementID::operator<(const StatementID& other) const {
return strcmp(str_, other.str_) < 0;
}
-ErrorDelegate::ErrorDelegate() {
-}
-
ErrorDelegate::~ErrorDelegate() {
}
@@ -102,7 +99,8 @@ Connection::Connection()
exclusive_locking_(false),
transaction_nesting_(0),
needs_rollback_(false),
- in_memory_(false) {
+ in_memory_(false),
+ error_delegate_(NULL) {
}
Connection::~Connection() {
« no previous file with comments | « sql/connection.h ('k') | sql/diagnostic_error_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698