From ef124bac460467f7e2037f034740b2d4a891fe6e 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/oracle/query.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'odb') diff --git a/odb/oracle/query.cxx b/odb/oracle/query.cxx index 439d2c7..3beebba 100644 --- a/odb/oracle/query.cxx +++ b/odb/oracle/query.cxx @@ -179,7 +179,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