[icinga-checkins] icinga.org: icinga-core/support/1.9: idoutils: fix mysql: output/ perfdata limits cut escaped string leaving '\' at the end

git at icinga.org git at icinga.org
Mon Jun 3 20:53:04 CEST 2013


Module: icinga-core
Branch: support/1.9
Commit: 3d896c508ce413e092d304ed4e8be570a46330c6
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=3d896c508ce413e092d304ed4e8be570a46330c6

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Jun  3 20:20:37 2013 +0200

idoutils: fix mysql: output/perfdata limits cut escaped string leaving '\' at the end

... and therefore escaping the single quote for the query asprintf.
wouldn't happen with prepared statements, but we can't use that with
libdbi.

refs #4196

---

 Changelog                       |    6 +++++
 module/idoutils/src/dbqueries.c |   44 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 0 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=3d896c508ce413e092d304ed4e8be570a46330c6




More information about the icinga-checkins mailing list