summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-27 13:57:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-27 13:57:34 +0200
commit52793dc8860e38f725dc0ca8300c4e2ca9d4ceb9 (patch)
tree88d868922e1903cc56236516c8ab44b4bc222a2d /odb/relational/header.hxx
parentf8b3ee6d42f5112c4e66a07cc7fdba43ce66aacd (diff)
Don't generate grow code for databases that don't need it
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r--odb/relational/header.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx
index 09a2d39..9d8dcba 100644
--- a/odb/relational/header.hxx
+++ b/odb/relational/header.hxx
@@ -1176,7 +1176,7 @@ namespace relational
// init (image, value)
//
- os << "static bool" << endl
+ os << "static " << (generate_grow ? "bool" : "void") << endl
<< "init (image_type&, const value_type&, " <<
db << "::statement_kind);"
<< endl;