From 7e01b2bb4722dd9018074dd7fe59de752b3ac57f Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 1 Aug 2013 19:43:51 +0200 Subject: [PATCH] ido_mysql: Don't put already escaped string into quotes --- components/ido_mysql/mysqldbconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ido_mysql/mysqldbconnection.cpp b/components/ido_mysql/mysqldbconnection.cpp index a5c84744e..449d8eacc 100644 --- a/components/ido_mysql/mysqldbconnection.cpp +++ b/components/ido_mysql/mysqldbconnection.cpp @@ -399,7 +399,7 @@ void MysqlDbConnection::ExecuteQuery(const DbQuery& query) if (!first) qbuf << " AND "; - qbuf << key << " = '" << value << "'"; + qbuf << key << " = " << value; if (first) first = false;