aboutsummaryrefslogtreecommitdiff
path: root/odb/relational
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-17 12:01:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-17 12:01:47 +0200
commite32e4b9d8d79dd5491891b1a2c5ac9ad9b631780 (patch)
treeb6a6f2e422078809227b84663839193af9c6a17e /odb/relational
parent791b94b894f93bc037637907616efc844f3d9414 (diff)
Add schema name to changelog
Diffstat (limited to 'odb/relational')
-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)