experimental removal of some unnecessary code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401513
This commit is contained in:
David Anderson 2007-10-01 14:31:57 +00:00
parent cb3b2a9ab6
commit 93e34b17a6

View File

@ -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);