diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-28 16:04:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:44 +0200 |
commit | 2aa3cabf1b737e225178230882ee9aadfd817ce0 (patch) | |
tree | 85a6c7a90f8483ca11a4bc825cd2ef22114c3d97 /odb/semantics/relational/changeset.cxx | |
parent | e999b1e7295acd8cdb646c2db7db1f5059f10c7d (diff) |
Add changelog support for add/drop index/foreign key
Also diagnose changes to primary keys and establish the 'alters'
association.
Diffstat (limited to 'odb/semantics/relational/changeset.cxx')
-rw-r--r-- | odb/semantics/relational/changeset.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/semantics/relational/changeset.cxx b/odb/semantics/relational/changeset.cxx index 8004844..fd5a17f 100644 --- a/odb/semantics/relational/changeset.cxx +++ b/odb/semantics/relational/changeset.cxx @@ -11,15 +11,15 @@ namespace semantics namespace relational { changeset:: - changeset (changeset const& c, graph& g) - : qscope (c, g), - version_ (c.version_) + changeset (changeset const& c, qscope& b, graph& g) + : qscope (c, &b, g), + version_ (c.version_) { } changeset:: - changeset (xml::parser& p, graph& g) - : qscope (p, g), + changeset (xml::parser& p, qscope& b, graph& g) + : qscope (p, &b, g), version_ (p.attribute<version_type> ("version")) { } |