aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-09-06 11:23:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-09-06 11:23:07 +0200
commitef124bac460467f7e2037f034740b2d4a891fe6e (patch)
tree5dcc02af124961c69557f8f544b59871f425a3c3
parentf6cd1a2e15d878cdce50cb75b448898efa769f62 (diff)
Support using stored procedure call as complete query
-rw-r--r--odb/oracle/query.cxx4
1 files changed, 3 insertions, 1 deletions
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.