summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/s3/create_database.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mysql-test/suite/s3/create_database.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite/s3/create_database.inc b/mysql-test/suite/s3/create_database.inc
new file mode 100644
index 00000000..880cdd3a
--- /dev/null
+++ b/mysql-test/suite/s3/create_database.inc
@@ -0,0 +1,10 @@
+#
+# Create unique database to not conflict with concurrently running tests as
+# the s3 database is shared
+#
+
+let $database=`select concat("s3_test_",replace(uuid(),"-",""))`;
+--disable_query_log
+--eval create database $database;
+--eval use $database;
+--enable_query_log