changed SQLITE_MISUSE to SQLITE_ERROR in one case

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401454
This commit is contained in:
David Anderson 2007-09-21 14:48:54 +00:00
parent 4ec0df9b9b
commit d306b250f4

View File

@ -172,7 +172,7 @@ IPreparedQuery *SqDatabase::PrepareQuery(const char *query, char *error, size_t
msg = sqlite3_errmsg(m_sq3);
} else {
msg = "Invalid query string";
m_LastErrorCode = SQLITE_MISUSE;
m_LastErrorCode = SQLITE_ERROR;
}
if (error)
{