aboutsummaryrefslogtreecommitdiff
path: root/common/schema
diff options
context:
space:
mode:
Diffstat (limited to 'common/schema')
-rw-r--r--common/schema/driver.cxx3
-rw-r--r--common/schema/test.hxx3
2 files changed, 6 insertions, 0 deletions
diff --git a/common/schema/driver.cxx b/common/schema/driver.cxx
index 4d27e81..1cc6be9 100644
--- a/common/schema/driver.cxx
+++ b/common/schema/driver.cxx
@@ -3,6 +3,9 @@
// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
+// Test database schema creation.
+//
+
#include <memory> // std::auto_ptr
#include <cassert>
#include <iostream>
diff --git a/common/schema/test.hxx b/common/schema/test.hxx
index 26a8b41..14c5113 100644
--- a/common/schema/test.hxx
+++ b/common/schema/test.hxx
@@ -71,6 +71,9 @@ struct type
#pragma odb type ("INTEGER UNSIGNED")
bool m1;
+
+ #pragma odb transient
+ char* m2;
};
#endif // TEST_HXX