summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-20 10:24:37 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-21 11:47:14 +0200
commitdbf411c52792587786b2f258ffda18bff0c3a8c5 (patch)
treec0ad3273adff15a707a8a7ea5de59ddab50ecc02 /odb/relational/header.hxx
parent73fdd6104f02ed6fad4e67f86e1ba2760d767844 (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.hxx2
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"