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:
parent
4ec0df9b9b
commit
d306b250f4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user