aboutsummaryrefslogtreecommitdiff
path: root/odb/prepared-query.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/prepared-query.hxx')
-rw-r--r--odb/prepared-query.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/prepared-query.hxx b/odb/prepared-query.hxx
index c9bc33a..7cac6da 100644
--- a/odb/prepared-query.hxx
+++ b/odb/prepared-query.hxx
@@ -1,5 +1,4 @@
// file : odb/prepared-query.hxx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_PREPARED_QUERY_HXX
@@ -25,6 +24,12 @@ namespace odb
prepared_query_impl (connection&);
+ // Verify this prepared query and the specified transaction use the
+ // same connection.
+ //
+ virtual bool
+ verify_connection (transaction&);
+
bool cached;
connection& conn;
const char* name;