summaryrefslogtreecommitdiff
path: root/bug
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-06 14:30:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-06 14:30:12 +0200
commit1f17804a718043babbe27c28aa525773810b29c2 (patch)
tree5ccf7901ca7458149e1adf6030728ff1a459bc97 /bug
parent31a3ad3fa55af5b9fe58254d1be48cdc2b794754 (diff)
Add bug: Type mapping broken for containers
Diffstat (limited to 'bug')
-rw-r--r--bug/list7
1 files changed, 7 insertions, 0 deletions
diff --git a/bug/list b/bug/list
index f4d1081..1aa4e89 100644
--- a/bug/list
+++ b/bug/list
@@ -1,3 +1,10 @@
+! Type mapping broken for containers
+
+ struct int_vector {std::vector<int> v;};
+
+ typedef std::vector<int> vector_int;
+ #pragma db map type(int_vector) as(vector_int) to((?).v) from(int_vector(?))
+
! Need to use SERIALIZABLE isolation level on all databases
See private email with subject like "ODB concurrency behavior".