aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/container-statements.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-10 14:10:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-10 14:10:45 +0200
commit0ed9ceef3abbd9f4ff786f6a02fe8767780e8c2c (patch)
tree0bca6f9e302dd92eb4dc9136ab0b826f8fa61aff /odb/mysql/container-statements.txx
parent075f64ca84e4e1be22bad30e4974e9b675d12ec8 (diff)
Schema versioning support
Diffstat (limited to 'odb/mysql/container-statements.txx')
-rw-r--r--odb/mysql/container-statements.txx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/mysql/container-statements.txx b/odb/mysql/container-statements.txx
index 2458f4d..922ea43 100644
--- a/odb/mysql/container-statements.txx
+++ b/odb/mysql/container-statements.txx
@@ -18,7 +18,8 @@ namespace odb
id_binding_ (id),
functions_ (this),
insert_image_binding_ (0, 0), // Initialized by impl.
- select_image_binding_ (0, 0) // Initialized by impl.
+ select_image_binding_ (0, 0), // Initialized by impl.
+ svm_ (0)
{
functions_.insert_ = &traits::insert;
functions_.select_ = &traits::select;
@@ -80,6 +81,8 @@ namespace odb
this->insert_text_ = traits::insert_statement;
this->select_text_ = traits::select_statement;
this->delete_text_ = traits::delete_statement;
+
+ this->versioned_ = traits::versioned;
}
// smart_container_statements_impl