diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-20 10:24:37 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-21 11:47:14 +0200 |
commit | dbf411c52792587786b2f258ffda18bff0c3a8c5 (patch) | |
tree | c0ad3273adff15a707a8a7ea5de59ddab50ecc02 /odb/relational/header.hxx | |
parent | 73fdd6104f02ed6fad4e67f86e1ba2760d767844 (diff) |
Use cached auto_id flag to determine presence of auto increment column
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 b0deeee..2416f04 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -975,7 +975,7 @@ namespace relational " id_type;" << endl << "static const bool auto_id = " << - (id_member (c)->count ("auto") ? "true;" : "false;") + (auto_id ? "true;" : "false;") << endl; os << "struct id_image_type" |