diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-29 09:27:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-29 09:27:29 +0200 |
commit | 73edd8b28ac415b6fdb7d8c7f8728dc7f8de75d0 (patch) | |
tree | 6e0559cc3d74d62d1531ad2b2d509da978fb4afd /odb/mysql/schema.cxx | |
parent | bdd75a3074e9c572187a24a38d37b9f1af742c7b (diff) |
Make container pragmas also work on types in addition to members
Diffstat (limited to 'odb/mysql/schema.cxx')
-rw-r--r-- | odb/mysql/schema.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/schema.cxx b/odb/mysql/schema.cxx index cb89c4b..e02dde6 100644 --- a/odb/mysql/schema.cxx +++ b/odb/mysql/schema.cxx @@ -94,7 +94,7 @@ namespace mysql // index (simple value) // string index_name; - bool ordered (ck == ck_ordered && !m.count ("unordered")); + bool ordered (ck == ck_ordered && !unordered (m)); if (ordered) { index_name = column_name (m, "index", "index"); |