diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-27 13:57:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-27 13:57:34 +0200 |
commit | 52793dc8860e38f725dc0ca8300c4e2ca9d4ceb9 (patch) | |
tree | 88d868922e1903cc56236516c8ab44b4bc222a2d /odb/relational/header.hxx | |
parent | f8b3ee6d42f5112c4e66a07cc7fdba43ce66aacd (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.hxx | 2 |
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; |