aboutsummaryrefslogtreecommitdiff
path: root/pgsql/savepoint/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-26 08:47:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-26 08:47:25 +0200
commit59e1be91b58c5d8591fcfa0b103ac6ed167a45fe (patch)
tree071bf02283d19633de673db29e9fb01938d2f4db /pgsql/savepoint/test.hxx
parentcc08639dd0da91a8be97f883cf8b90c757f79071 (diff)
Release version 2.5.0-b.23v2.5.0-b.23
Diffstat (limited to 'pgsql/savepoint/test.hxx')
-rw-r--r--pgsql/savepoint/test.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/pgsql/savepoint/test.hxx b/pgsql/savepoint/test.hxx
new file mode 100644
index 0000000..7e01992
--- /dev/null
+++ b/pgsql/savepoint/test.hxx
@@ -0,0 +1,27 @@
+// file : pgsql/savepoint/test.hxx
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef TEST_HXX
+#define TEST_HXX
+
+#include <string>
+
+#include <odb/core.hxx>
+
+#pragma db object bulk(100)
+struct object
+{
+ object (unsigned long id)
+ : id_ (id)
+ {
+ }
+
+ object ()
+ {
+ }
+
+ #pragma db id
+ unsigned long id_;
+};
+
+#endif // TEST_HXX