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

git at icinga.org git at icinga.org
Sun Jun 30 16:56:34 CEST 2013

Module: icinga-core
Branch: next
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

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