From 5b0430fdf4617b396e462872d438a663b174a3a8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Oct 2012 17:24:44 +0200 Subject: Completion of prepared query support --- odb/statement.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'odb/statement.cxx') 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 + #include namespace odb @@ -10,4 +12,11 @@ namespace odb ~statement () { } + + void statement:: + cached (bool cached) + { + assert (cached); + cached_ = true; + } } -- cgit v1.1