From d306b250f4e2116be1582effe8ae00dcbcf1500d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 21 Sep 2007 14:48:54 +0000 Subject: [PATCH] changed SQLITE_MISUSE to SQLITE_ERROR in one case --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401454 --- extensions/sqlite/driver/SqDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sqlite/driver/SqDatabase.cpp b/extensions/sqlite/driver/SqDatabase.cpp index ca32ad63..47e8e222 100644 --- a/extensions/sqlite/driver/SqDatabase.cpp +++ b/extensions/sqlite/driver/SqDatabase.cpp @@ -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) {