mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user