diff options
Diffstat (limited to 'odb/validator.cxx')
-rw-r--r-- | odb/validator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/validator.cxx b/odb/validator.cxx index d0b9ee2..5e99114 100644 --- a/odb/validator.cxx +++ b/odb/validator.cxx @@ -968,7 +968,7 @@ validate (options const& ops, // if (ops.generate_schema_only () && (ops.schema_format ().size () != 1 || - *ops.schema_format ().begin () != schema_format::sql)) + *ops.schema_format ()[db].begin () != schema_format::sql)) { cerr << "error: --generate-schema-only is only valid when generating " << "schema as a standalone SQL file" << endl; |