aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-10-05 11:21:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-10-05 11:21:32 +0200
commit78a479e23773177f2e8baaf5462112cde36a20b9 (patch)
treef51335e139141c28b9342035894d4e473ad1814f
parentfe22317bdf0f8e9a22fe812730abdb4cbff4ae03 (diff)
Add schema_catalog::base_version() for completeness
-rw-r--r--evolution/embedded/driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/evolution/embedded/driver.cxx b/evolution/embedded/driver.cxx
index a1ac0e4..90d7a7b 100644
--- a/evolution/embedded/driver.cxx
+++ b/evolution/embedded/driver.cxx
@@ -81,6 +81,7 @@ main (int argc, char* argv[])
// Check version information correctness.
//
+ assert (schema_catalog::base_version (*db) == 1);
assert (schema_catalog::current_version (*db) == 3);
assert (schema_catalog::next_version (*db, 0) == 3);
assert (schema_catalog::next_version (*db, 1) == 2);