summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/changeset.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-28 16:04:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:44 +0200
commit2aa3cabf1b737e225178230882ee9aadfd817ce0 (patch)
tree85a6c7a90f8483ca11a4bc825cd2ef22114c3d97 /odb/semantics/relational/changeset.cxx
parente999b1e7295acd8cdb646c2db7db1f5059f10c7d (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.cxx10
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"))
{
}