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

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Mar 4 21:50:07 JST 2014


Kouhei Sutou	2014-03-04 21:50:07 +0900 (Tue, 04 Mar 2014)

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

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

  Modified files:
    mysql-test/mroonga/storage/alter_table/add_column/t/with_flags.test
    mysql-test/mroonga/storage/alter_table/add_column/t/with_type.test

  Modified: mysql-test/mroonga/storage/alter_table/add_column/t/with_flags.test (+5 -3)
===================================================================
--- mysql-test/mroonga/storage/alter_table/add_column/t/with_flags.test    2014-03-03 16:40:33 +0900 (8663b35)
+++ mysql-test/mroonga/storage/alter_table/add_column/t/with_flags.test    2014-03-04 21:50:07 +0900 (fae7d3b)
@@ -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 (
   id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY

  Modified: mysql-test/mroonga/storage/alter_table/add_column/t/with_type.test (+5 -4)
===================================================================
--- mysql-test/mroonga/storage/alter_table/add_column/t/with_type.test    2014-03-03 16:40:33 +0900 (b2d2e7e)
+++ mysql-test/mroonga/storage/alter_table/add_column/t/with_type.test    2014-03-04 21:50:07 +0900 (18f51c0)
@@ -18,10 +18,11 @@
 --source ../../../../include/mroonga/have_mroonga.inc
 --source ../../../../include/mroonga/load_mroonga_functions.inc
 
---disable_warnings
-DROP TABLE IF EXISTS tags;
-DROP TABLE IF EXISTS bugs;
---enable_warnings
+--disable_query_log
+DROP DATABASE test;
+CREATE DATABASE test;
+USE test;
+--enable_query_log
 
 CREATE TABLE tags (
   id INT UNSIGNED PRIMARY KEY
-------------- next part --------------
HTML����������������������������...
下载 



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