aboutsummaryrefslogtreecommitdiff
path: root/odb/statement.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-12 17:24:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-19 11:38:24 +0200
commit5b0430fdf4617b396e462872d438a663b174a3a8 (patch)
treee89e0cc5b1fdff4e3f49c9c7b7607d2b90108c31 /odb/statement.cxx
parent5c705a90d348a2a9428d5121a24eb47d0d73eb39 (diff)
Completion of prepared query support
Diffstat (limited to 'odb/statement.cxx')
-rw-r--r--odb/statement.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/statement.cxx b/odb/statement.cxx
index 1d96078..eb99227 100644
--- a/odb/statement.cxx
+++ b/odb/statement.cxx
@@ -2,6 +2,8 @@
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
+#include <cassert>
+
#include <odb/statement.hxx>
namespace odb
@@ -10,4 +12,11 @@ namespace odb
~statement ()
{
}
+
+ void statement::
+ cached (bool cached)
+ {
+ assert (cached);
+ cached_ = true;
+ }
}