[Groonga-mysql-commit] mroonga/mroonga at c518bd0 [master] mysql-test: ensure recreating database

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Mar 5 00:39:24 JST 2014


Kouhei Sutou	2014-03-05 00:39:24 +0900 (Wed, 05 Mar 2014)

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

  Message:
    mysql-test: ensure recreating database
    
    Because object ID in Groonga may be changed by the previous test.

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

  Modified: mysql-test/mroonga/storage/create/table/r/reference_type.result (+0 -1)
===================================================================
--- mysql-test/mroonga/storage/create/table/r/reference_type.result    2014-03-04 21:51:55 +0900 (0d46de4)
+++ mysql-test/mroonga/storage/create/table/r/reference_type.result    2014-03-05 00:39:24 +0900 (30fcacc)
@@ -1,4 +1,3 @@
-DROP TABLE IF EXISTS Tags, Bugs;
 CREATE TABLE Tags (
 name VARCHAR(64) PRIMARY KEY
 ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

  Modified: mysql-test/mroonga/storage/create/table/t/reference_type.test (+5 -3)
===================================================================
--- mysql-test/mroonga/storage/create/table/t/reference_type.test    2014-03-04 21:51:55 +0900 (ec45fa3)
+++ mysql-test/mroonga/storage/create/table/t/reference_type.test    2014-03-05 00:39:24 +0900 (a33aadd)
@@ -18,9 +18,11 @@
 --source ../../../../include/mroonga/have_mroonga.inc
 --source ../../../../include/mroonga/load_mroonga_functions.inc
 
---disable_warnings
-DROP TABLE IF EXISTS Tags, Bugs;
---enable_warnings
+--disable_query_log
+DROP DATABASE test;
+CREATE DATABASE test;
+USE test;
+--enable_query_log
 
 CREATE TABLE Tags (
   name VARCHAR(64) PRIMARY KEY
-------------- next part --------------
HTML����������������������������...
Download 



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