aboutsummaryrefslogtreecommitdiff
path: root/common/erase-query
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/erase-query
parent42467152acbac9d4604e448694cf5943c8c194fe (diff)
Remove common_ from all table_prefix arguments in common tests
Diffstat (limited to 'common/erase-query')
-rw-r--r--common/erase-query/driver.cxx4
-rw-r--r--common/erase-query/makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/erase-query/driver.cxx b/common/erase-query/driver.cxx
index baa66f4..0b2d7f5 100644
--- a/common/erase-query/driver.cxx
+++ b/common/erase-query/driver.cxx
@@ -64,7 +64,7 @@ main (int argc, char* argv[])
{
transaction t (db->begin ());
assert (db->erase_query<object> (
- "common_erase_query_object.id < 3") == 2);
+ "erase_query_object.id < 3") == 2);
db->erase_query<object> ();
t.commit ();
}
@@ -162,7 +162,7 @@ main (int argc, char* argv[])
#ifndef DATABASE_MYSQL
{
transaction t (db->begin ());
- assert (db->execute ("SELECT * FROM common_erase_query_object_v "
+ assert (db->execute ("SELECT * FROM erase_query_object_v "
"WHERE object_id = 1") == 0);
t.commit ();
}
diff --git a/common/erase-query/makefile b/common/erase-query/makefile
index 27ac281..4ea31a2 100644
--- a/common/erase-query/makefile
+++ b/common/erase-query/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_erase_query_
+--generate-query --table-prefix erase_query_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)