diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 11:43:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 11:43:10 +0200 |
commit | f85d634ac895a6ad937d8bc0861cc483d07da1cb (patch) | |
tree | a165a322380ae69c21bf2e3c48e1c6738d971a76 /odb/semantics/relational/changelog.hxx | |
parent | 1bcf16e4a89a09346813c1c47e75da99f74a65fe (diff) |
Add database name to changelog
Diffstat (limited to 'odb/semantics/relational/changelog.hxx')
-rw-r--r-- | odb/semantics/relational/changelog.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/semantics/relational/changelog.hxx b/odb/semantics/relational/changelog.hxx index d9e220c..a27c946 100644 --- a/odb/semantics/relational/changelog.hxx +++ b/odb/semantics/relational/changelog.hxx @@ -119,7 +119,11 @@ namespace semantics } public: - changelog (): contains_model_ (0) {} + string const& + database () const {return database_;} + + public: + changelog (string const& db): database_ (db), contains_model_ (0) {} changelog (xml::parser&); void @@ -146,6 +150,7 @@ namespace semantics changelog& operator= (changelog const&); protected: + string database_; contains_model_type* contains_model_; contains_changeset_list contains_changeset_; }; |