aboutsummaryrefslogtreecommitdiff
path: root/common/schema
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-03 14:12:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-03 14:12:48 +0200
commitb9161e6e332cb0279ef8616dbbce4c90b60bce15 (patch)
tree2462cb423cd9b62a7179def871420760bf3c6d98 /common/schema
parent8d7db5926bc4764cc368570ea9b64e354c13f671 (diff)
New tests
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