summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/changeset.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-03 11:22:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:44 +0200
commitb0391e168b489811708ca7ba5f71a0eb67b46ffe (patch)
treece15fb5ce0998ec27696152054609bb5dd4f45c3 /odb/semantics/relational/changeset.cxx
parente356a9112750e836197a8545bcf6cedad0c1ebe1 (diff)
Generate add/drop table migration statements
Diffstat (limited to 'odb/semantics/relational/changeset.cxx')
-rw-r--r--odb/semantics/relational/changeset.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/odb/semantics/relational/changeset.cxx b/odb/semantics/relational/changeset.cxx
index fd5a17f..669394f 100644
--- a/odb/semantics/relational/changeset.cxx
+++ b/odb/semantics/relational/changeset.cxx
@@ -13,14 +13,16 @@ namespace semantics
changeset::
changeset (changeset const& c, qscope& b, graph& g)
: qscope (c, &b, g),
- version_ (c.version_)
+ version_ (c.version_),
+ alters_model_ (0)
{
}
changeset::
changeset (xml::parser& p, qscope& b, graph& g)
: qscope (p, &b, g),
- version_ (p.attribute<version_type> ("version"))
+ version_ (p.attribute<version_type> ("version")),
+ alters_model_ (0)
{
}