summaryrefslogtreecommitdiff
path: root/odb/mysql/connection.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-12-03 13:11:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-12-03 13:11:42 +0200
commitb9714c9f9a878ab363b85dc4add9eb16fe123d67 (patch)
tree0d7343352fe907e5ecddef2ae14a706d146d19cf /odb/mysql/connection.hxx
parentbfe99354380c4a3a77a181cd8abaacab09a45fb5 (diff)
Add support for executing common query using static interface
Diffstat (limited to 'odb/mysql/connection.hxx')
-rw-r--r--odb/mysql/connection.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mysql/connection.hxx b/odb/mysql/connection.hxx
index 8316386..3329bb6 100644
--- a/odb/mysql/connection.hxx
+++ b/odb/mysql/connection.hxx
@@ -74,7 +74,11 @@ namespace odb
template <typename T>
prepared_query<T>
- prepare_query (const char* name, const query<T>&);
+ prepare_query (const char* name, const mysql::query_base&);
+
+ template <typename T>
+ prepared_query<T>
+ prepare_query (const char* name, const odb::query_base&);
// SQL statement tracing.
//