From ff3950866c0f756a5b6f379b9f95f01fff4a9ec7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Aug 2011 17:13:55 +0200 Subject: Make tests use unique table prefixes --- common/default/driver.cxx | 2 +- common/default/makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'common/default') diff --git a/common/default/driver.cxx b/common/default/driver.cxx index 32c1923..a47051c 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 object (obj_id) VALUES (1)"); + db->execute ("INSERT INTO common_default_object (obj_id) VALUES (1)"); t.commit (); } diff --git a/common/default/makefile b/common/default/makefile index fd77d01..ce5f9e9 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 +--generate-query --table-prefix common_default_ $(gen): cpp_options := -I$(src_base) $(gen): $(common.l.cpp-options) -- cgit v1.1