mirror of https://github.com/Icinga/icinga2.git
ido_mysql: Don't put already escaped string into quotes
This commit is contained in:
parent
a4d8cfe2a5
commit
7e01b2bb47
|
@ -399,7 +399,7 @@ void MysqlDbConnection::ExecuteQuery(const DbQuery& query)
|
|||
if (!first)
|
||||
qbuf << " AND ";
|
||||
|
||||
qbuf << key << " = '" << value << "'";
|
||||
qbuf << key << " = " << value;
|
||||
|
||||
if (first)
|
||||
first = false;
|
||||
|
|
Loading…
Reference in New Issue