summaryrefslogtreecommitdiffstats
path: root/sql/connection.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 17:41:16 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 17:41:16 +0000
commit49dc4f20a2655ac42cd4a2902faf88ccf61aee7f (patch)
tree9f65b7557b613a72fe6305ea4e9c188893f47c15 /sql/connection.cc
parent494885e17887147c9ee61d02b5827dd1d2268926 (diff)
downloadchromium_src-49dc4f20a2655ac42cd4a2902faf88ccf61aee7f.zip
chromium_src-49dc4f20a2655ac42cd4a2902faf88ccf61aee7f.tar.gz
chromium_src-49dc4f20a2655ac42cd4a2902faf88ccf61aee7f.tar.bz2
Remove ref counting on sql::ErrorDelegate
BUG=151841 Test=None R=shess TBR=jamesr,erikwright Review URL: https://chromiumcodereview.appspot.com/11111021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/connection.cc')
-rw-r--r--sql/connection.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/connection.cc b/sql/connection.cc
index ea3dacb..94a8cc0 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() {