aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-01-18 11:21:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-01-18 11:23:53 +0200
commita86cf1e87af6808dbe042b571e41bff918030e61 (patch)
tree0e84516ea5e317bcf6ad91681e70d1f54326c5c6 /odb/mysql/database.hxx
parentd1fea829e1381a0ef382176fe2050933609bfc8e (diff)
Add support for native SQL statement execution
New test: mysql/native. New manual section: 3.9, "Executing Native SQL Statements".
Diffstat (limited to 'odb/mysql/database.hxx')
-rw-r--r--odb/mysql/database.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/mysql/database.hxx b/odb/mysql/database.hxx
index 6449d23..81f2892 100644
--- a/odb/mysql/database.hxx
+++ b/odb/mysql/database.hxx
@@ -159,6 +159,10 @@ namespace odb
}
public:
+ virtual unsigned long long
+ execute (const char* statement, std::size_t length);
+
+ public:
virtual transaction_impl*
begin ();