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)
|
if (!first)
|
||||||
qbuf << " AND ";
|
qbuf << " AND ";
|
||||||
|
|
||||||
qbuf << key << " = '" << value << "'";
|
qbuf << key << " = " << value;
|
||||||
|
|
||||||
if (first)
|
if (first)
|
||||||
first = false;
|
first = false;
|
||||||
|
|
Loading…
Reference in New Issue