From 93e34b17a6fec6384854858178d008e521e37854 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 1 Oct 2007 14:31:57 +0000 Subject: [PATCH] experimental removal of some unnecessary code --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401513 --- extensions/sqlite/driver/SqDatabase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/sqlite/driver/SqDatabase.cpp b/extensions/sqlite/driver/SqDatabase.cpp index 47e8e222..450eb1b0 100644 --- a/extensions/sqlite/driver/SqDatabase.cpp +++ b/extensions/sqlite/driver/SqDatabase.cpp @@ -179,10 +179,12 @@ IPreparedQuery *SqDatabase::PrepareQuery(const char *query, char *error, size_t strncopy(error, msg, maxlength); } m_LastError.assign(msg); + #if 0 /* This didn't really seem like a good idea... */ if (stmt) { sqlite3_finalize(stmt); } + #endif return NULL; } return new SqQuery(this, stmt);