From 2aa3cabf1b737e225178230882ee9aadfd817ce0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 28 Mar 2013 16:04:48 +0200 Subject: Add changelog support for add/drop index/foreign key Also diagnose changes to primary keys and establish the 'alters' association. --- odb/semantics/relational/changeset.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'odb/semantics/relational/changeset.cxx') 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")) { } -- cgit v1.1