[Groonga-mysql-commit] mroonga/mroonga at d85c451 [master] test: recreate database in tests that use "dump"

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 13 11:10:02 JST 2014


Kouhei Sutou	2014-10-13 11:10:02 +0900 (Mon, 13 Oct 2014)

  New Revision: d85c451a2ede3c1f186abda01020f44c4c49b42e
  https://github.com/mroonga/mroonga/commit/d85c451a2ede3c1f186abda01020f44c4c49b42e

  Message:
    test: recreate database in tests that use "dump"

  Modified files:
    mysql-test/mroonga/storage/create/table/r/default_tokenizer.result
    mysql-test/mroonga/storage/create/table/r/vector.result
    mysql-test/mroonga/storage/create/table/t/default_tokenizer.test
    mysql-test/mroonga/storage/create/table/t/vector.test

  Modified: mysql-test/mroonga/storage/create/table/r/default_tokenizer.result (+0 -1)
===================================================================
--- mysql-test/mroonga/storage/create/table/r/default_tokenizer.result    2014-10-13 11:08:42 +0900 (1a9888d)
+++ mysql-test/mroonga/storage/create/table/r/default_tokenizer.result    2014-10-13 11:10:02 +0900 (e14c672)
@@ -1,4 +1,3 @@
-DROP TABLE IF EXISTS tags;
 CREATE TABLE tags (
 name VARCHAR(64) PRIMARY KEY
 ) DEFAULT CHARSET=utf8

  Modified: mysql-test/mroonga/storage/create/table/r/vector.result (+0 -1)
===================================================================
--- mysql-test/mroonga/storage/create/table/r/vector.result    2014-10-13 11:08:42 +0900 (cb6248e)
+++ mysql-test/mroonga/storage/create/table/r/vector.result    2014-10-13 11:10:02 +0900 (561a266)
@@ -1,4 +1,3 @@
-DROP TABLE IF EXISTS bugs;
 CREATE TABLE bugs (
 id INT UNSIGNED PRIMARY KEY,
 tags TEXT COMMENT 'flags "COLUMN_VECTOR"'

  Modified: mysql-test/mroonga/storage/create/table/t/default_tokenizer.test (+5 -3)
===================================================================
--- mysql-test/mroonga/storage/create/table/t/default_tokenizer.test    2014-10-13 11:08:42 +0900 (e28c91a)
+++ mysql-test/mroonga/storage/create/table/t/default_tokenizer.test    2014-10-13 11:10:02 +0900 (df98992)
@@ -18,9 +18,11 @@
 --source ../../../../include/mroonga/have_mroonga.inc
 --source ../../../../include/mroonga/load_mroonga_functions.inc
 
---disable_warnings
-DROP TABLE IF EXISTS tags;
---enable_warnings
+--disable_query_log
+DROP DATABASE test;
+CREATE DATABASE test;
+USE test;
+--enable_query_log
 
 CREATE TABLE tags (
   name VARCHAR(64) PRIMARY KEY

  Modified: mysql-test/mroonga/storage/create/table/t/vector.test (+5 -3)
===================================================================
--- mysql-test/mroonga/storage/create/table/t/vector.test    2014-10-13 11:08:42 +0900 (a6338a9)
+++ mysql-test/mroonga/storage/create/table/t/vector.test    2014-10-13 11:10:02 +0900 (f0bf29c)
@@ -18,9 +18,11 @@
 --source ../../../../include/mroonga/have_mroonga.inc
 --source ../../../../include/mroonga/load_mroonga_functions.inc
 
---disable_warnings
-DROP TABLE IF EXISTS bugs;
---enable_warnings
+--disable_query_log
+DROP DATABASE test;
+CREATE DATABASE test;
+USE test;
+--enable_query_log
 
 CREATE TABLE bugs (
   id INT UNSIGNED PRIMARY KEY,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index