From ff3950866c0f756a5b6f379b9f95f01fff4a9ec7 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Wed, 24 Aug 2011 17:13:55 +0200
Subject: Make tests use unique table prefixes

---
 qt/mysql/basic/makefile     | 4 ++--
 qt/mysql/date-time/makefile | 2 +-
 qt/mysql/template/makefile  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'qt/mysql')

diff --git a/qt/mysql/basic/makefile b/qt/mysql/basic/makefile
index 6d48f0c..dcfac13 100644
--- a/qt/mysql/basic/makefile
+++ b/qt/mysql/basic/makefile
@@ -1,4 +1,4 @@
-# file      : qt/mysql/date-time/makefile
+# file      : qt/mysql/basic/makefile
 # author    : Constantin Michael <constantin@codesynthesis.com>
 # copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
 # license   : GNU GPL v2; see accompanying LICENSE file
@@ -45,7 +45,7 @@ gen  := $(addprefix $(out_base)/,$(genf))
 $(gen): $(odb)
 $(gen): odb := $(odb)
 $(gen) $(dist): export odb_options += --database mysql --profile qt/basic \
---generate-schema
+--generate-schema --table-prefix qt_mysql_basic_
 $(gen): cpp_options := -I$(src_base)
 $(gen): $(common.l.cpp-options) $(odb_qt.l.cpp-options) \
 $(qt_core.l.cpp-options)
diff --git a/qt/mysql/date-time/makefile b/qt/mysql/date-time/makefile
index ca8e79c..ef50f46 100644
--- a/qt/mysql/date-time/makefile
+++ b/qt/mysql/date-time/makefile
@@ -45,7 +45,7 @@ gen  := $(addprefix $(out_base)/,$(genf))
 $(gen): $(odb)
 $(gen): odb := $(odb)
 $(gen) $(dist): export odb_options += --database mysql --profile qt/date-time \
---generate-schema
+--generate-schema --table-prefix qt_mysql_date_time_
 $(gen): cpp_options := -I$(src_base)
 $(gen): $(common.l.cpp-options) $(odb_qt.l.cpp-options) \
 $(qt_core.l.cpp-options)
diff --git a/qt/mysql/template/makefile b/qt/mysql/template/makefile
index a76f0cc..aa5381d 100644
--- a/qt/mysql/template/makefile
+++ b/qt/mysql/template/makefile
@@ -40,7 +40,7 @@ gen  := $(addprefix $(out_base)/,$(genf))
 $(gen): $(odb)
 $(gen): odb := $(odb)
 $(gen) $(dist): export odb_options += --database mysql --profile qt \
---generate-schema
+--generate-schema --table-prefix qt_mysql_template_ #@@ CHANGE THIS
 $(gen): cpp_options := -I$(src_base)
 $(gen): $(common.l.cpp-options) $(odb_qt.l.cpp-options)
 
-- 
cgit v1.1