aboutsummaryrefslogtreecommitdiff
path: root/qt/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-24 17:13:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-24 17:13:55 +0200
commitff3950866c0f756a5b6f379b9f95f01fff4a9ec7 (patch)
tree1171b1c1ecd9cffc5022d34d8d411846b98adf09 /qt/mysql
parent1fca8273447e0048941bbfe8ca23466f103c42f3 (diff)
Make tests use unique table prefixes
Diffstat (limited to 'qt/mysql')
-rw-r--r--qt/mysql/basic/makefile4
-rw-r--r--qt/mysql/date-time/makefile2
-rw-r--r--qt/mysql/template/makefile2
3 files changed, 4 insertions, 4 deletions
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)