diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-12 17:24:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-19 11:38:24 +0200 |
commit | 5b0430fdf4617b396e462872d438a663b174a3a8 (patch) | |
tree | e89e0cc5b1fdff4e3f49c9c7b7607d2b90108c31 /odb/statement.cxx | |
parent | 5c705a90d348a2a9428d5121a24eb47d0d73eb39 (diff) |
Completion of prepared query support
Diffstat (limited to 'odb/statement.cxx')
-rw-r--r-- | odb/statement.cxx | 9 |
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; + } } |