From 75212d9609d2bfae1836d21347fc058914bbbfcd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 6 Sep 2014 11:23:07 +0200 Subject: Support using stored procedure call as complete query --- odb/mysql/query.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/odb/mysql/query.cxx b/odb/mysql/query.cxx index c81f80c..c53099f 100644 --- a/odb/mysql/query.cxx +++ b/odb/mysql/query.cxx @@ -178,7 +178,9 @@ namespace odb s.compare (0, (n = 8), "GROUP BY") == 0 || s.compare (0, (n = 8), "group by") == 0 || s.compare (0, (n = 6), "HAVING") == 0 || - s.compare (0, (n = 6), "having") == 0) + s.compare (0, (n = 6), "having") == 0 || + s.compare (0, (n = 4), "CALL") == 0 || + s.compare (0, (n = 4), "call") == 0) { // It either has to be an exact match, or there should be // a whitespace following the keyword. -- cgit v1.1