From: Pierre Chifflier <chifflier@xxxxxx> SQL standard says a function has to be called with SELECT and not CALL. This patch modify code accordingly. Signed-off-by: Pierre Chifflier <chifflier@xxxxxx> Signed-off-by: Eric leblond <eric@xxxxxx> --- :100644 100644 4c4298c... d57ab6a... M util/db.c util/db.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/util/db.c b/util/db.c index 4c4298c..d57ab6a 100644 --- a/util/db.c +++ b/util/db.c @@ -90,7 +90,7 @@ static int sql_createstmt(struct ulogd_pluginstance *upi) return -ENOMEM; } - sprintf(mi->stmt, "CALL %s(", procedure); + sprintf(mi->stmt, "SELECT %s(", procedure); mi->stmt_val = mi->stmt + strlen(mi->stmt); -- 1.5.2.5 - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html