aboutsummaryrefslogtreecommitdiff
path: root/common/container
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-21 08:35:27 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-21 13:29:10 +0200
commitf4f07fb437a28d1d9899607e3200d6732e627036 (patch)
tree0838a9d3d546a9121b525d68214490b76fdbe83b /common/container
parent42467152acbac9d4604e448694cf5943c8c194fe (diff)
Remove common_ from all table_prefix arguments in common tests
Diffstat (limited to 'common/container')
-rw-r--r--common/container/makefile2
-rw-r--r--common/container/test.hxx6
2 files changed, 2 insertions, 6 deletions
diff --git a/common/container/makefile b/common/container/makefile
index c1b1124..51dd456 100644
--- a/common/container/makefile
+++ b/common/container/makefile
@@ -36,7 +36,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---table-prefix cmn_ctnr_
+--table-prefix container_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/common/container/test.hxx b/common/container/test.hxx
index ec392ec..2e267f6 100644
--- a/common/container/test.hxx
+++ b/common/container/test.hxx
@@ -54,7 +54,6 @@ struct cont_comp1
{
// This composite value does not have any columns.
//
- #pragma db id_column("obj_id")
num_vector sv; // Have the name "conflic" with the one in the object.
};
@@ -64,14 +63,11 @@ struct cont_comp2
cont_comp2 (): num (777), str ("ggg") {}
int num;
-
- #pragma db id_column("obj_id")
str_list sl;
-
std::string str;
};
-#pragma db object table("obj")
+#pragma db object
struct object
{
object (): nv (comp1_.sv), sl (comp2_.sl) {}