aboutsummaryrefslogtreecommitdiff
path: root/common/default
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/default
parent42467152acbac9d4604e448694cf5943c8c194fe (diff)
Remove common_ from all table_prefix arguments in common tests
Diffstat (limited to 'common/default')
-rw-r--r--common/default/driver.cxx2
-rw-r--r--common/default/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/default/driver.cxx b/common/default/driver.cxx
index a47051c..846619b 100644
--- a/common/default/driver.cxx
+++ b/common/default/driver.cxx
@@ -33,7 +33,7 @@ main (int argc, char* argv[])
//
{
transaction t (db->begin ());
- db->execute ("INSERT INTO common_default_object (obj_id) VALUES (1)");
+ db->execute ("INSERT INTO default_object (obj_id) VALUES (1)");
t.commit ();
}
diff --git a/common/default/makefile b/common/default/makefile
index ce5f9e9..2f66e7a 100644
--- a/common/default/makefile
+++ b/common/default/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 \
---generate-query --table-prefix common_default_
+--generate-query --table-prefix default_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)