[Groonga-mysql-commit] mroonga/mroonga at beb1b7e [master] mysql test: clear database to run clean state

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Feb 21 19:19:46 JST 2015


Kouhei Sutou	2015-02-21 19:19:46 +0900 (Sat, 21 Feb 2015)

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

  Message:
    mysql test: clear database to run clean state

  Modified files:
    mysql-test/mroonga/wrapper/count_star/r/with_index.result
    mysql-test/mroonga/wrapper/count_star/t/with_index.test

  Modified: mysql-test/mroonga/wrapper/count_star/r/with_index.result (+0 -2)
===================================================================
--- mysql-test/mroonga/wrapper/count_star/r/with_index.result    2015-02-21 19:16:36 +0900 (6b29be5)
+++ mysql-test/mroonga/wrapper/count_star/r/with_index.result    2015-02-21 19:19:46 +0900 (a6d2f78)
@@ -1,5 +1,3 @@
-DROP TABLE IF EXISTS diaries_innodb;
-DROP TABLE IF EXISTS diaries_mroonga;
 CREATE TABLE diaries_innodb (
 id INT PRIMARY KEY AUTO_INCREMENT,
 body TEXT,

  Modified: mysql-test/mroonga/wrapper/count_star/t/with_index.test (+6 -5)
===================================================================
--- mysql-test/mroonga/wrapper/count_star/t/with_index.test    2015-02-21 19:16:36 +0900 (bd7d409)
+++ mysql-test/mroonga/wrapper/count_star/t/with_index.test    2015-02-21 19:19:46 +0900 (1569534)
@@ -1,4 +1,4 @@
-# Copyright(C) 2011 Kouhei Sutou <kou �� clear-code.com>
+# Copyright(C) 2011-2015 Kouhei Sutou <kou �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -18,10 +18,11 @@
 --source ../../../include/mroonga/have_fulltext_index_comment.inc
 --source ../../../include/mroonga/have_mroonga.inc
 
---disable_warnings
-DROP TABLE IF EXISTS diaries_innodb;
-DROP TABLE IF EXISTS diaries_mroonga;
---enable_warnings
+--disable_query_log
+DROP DATABASE test;
+CREATE DATABASE test;
+USE test;
+--enable_query_log
 
 CREATE TABLE diaries_innodb (
   id INT PRIMARY KEY AUTO_INCREMENT,
-------------- next part --------------
HTML����������������������������...
Download 



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