Navigation Menu

Skip to content

Commit

Permalink
mysql test: clear database to run clean state
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 21, 2015
1 parent 4ae2669 commit beb1b7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions mysql-test/mroonga/wrapper/count_star/r/with_index.result
@@ -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,
Expand Down
11 changes: 6 additions & 5 deletions mysql-test/mroonga/wrapper/count_star/t/with_index.test
@@ -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
Expand All @@ -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,
Expand Down

0 comments on commit beb1b7e

Please sign in to comment.