From b9161e6e332cb0279ef8616dbbce4c90b60bce15 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Aug 2010 14:12:48 +0200 Subject: New tests --- common/schema/driver.cxx | 3 +++ common/schema/test.hxx | 3 +++ 2 files changed, 6 insertions(+) (limited to 'common/schema') 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 // std::auto_ptr #include #include 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 -- cgit v1.1