aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/changelog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/changelog.cxx')
-rw-r--r--odb/relational/changelog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/relational/changelog.cxx b/odb/relational/changelog.cxx
index ca796a9..855ba65 100644
--- a/odb/relational/changelog.cxx
+++ b/odb/relational/changelog.cxx
@@ -1023,8 +1023,9 @@ namespace relational
string const& out_name,
options const& ops)
{
+ database db (ops.database ()[0]);
cutl::shared_ptr<changelog> cl (
- new (shared) changelog (ops.database ()[0].string ()));
+ new (shared) changelog (db.string (), ops.schema_name ()[db]));
graph& g (*cl);
if (old == 0)