[Groonga-mysql-commit] mroonga/mroonga [master] split "show table status" test. refs #1319

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 27日 (金) 03:35:25 JST


Kentoku	2012-04-27 03:35:25 +0900 (Fri, 27 Apr 2012)

  New Revision: 8e3f251436adae6b479ef1b54bbe06640b8d1152

  Log:
    split "show table status" test. refs #1319

  Added files:
    test/sql/suite/mroonga_storage/r/show_table_status_for_auto_increment.result
  Copied files:
    test/sql/suite/mroonga_storage/t/show_table_status_for_auto_increment.test
      (from test/sql/suite/mroonga_storage/t/show_table_status.test)
  Modified files:
    test/sql/suite/mroonga_storage/r/show_table_status.result
    test/sql/suite/mroonga_storage/t/show_table_status.test

  Modified: test/sql/suite/mroonga_storage/r/show_table_status.result (+0 -10)
===================================================================
--- test/sql/suite/mroonga_storage/r/show_table_status.result    2012-04-26 23:49:40 +0900 (ebfba35)
+++ test/sql/suite/mroonga_storage/r/show_table_status.result    2012-04-27 03:35:25 +0900 (98af2e9)
@@ -12,13 +12,3 @@ show table status like 't2';
 Name	Engine	Version	Row_format	Rows	Avg_row_length	Data_length	Max_data_length	Index_length	Data_free	Auto_increment	Create_time	Update_time	Check_time	Collation	Checksum	Create_options	Comment
 t2	mroonga	10	Fixed	0	0	0	0	0	0	NULL	NULL	NULL	NULL	latin1_swedish_ci	NULL		
 drop table t1,t2;
-create table t1 (c1 int auto_increment, primary key(c1));
-show table status like 't1';
-Name	Engine	Version	Row_format	Rows	Avg_row_length	Data_length	Max_data_length	Index_length	Data_free	Auto_increment	Create_time	Update_time	Check_time	Collation	Checksum	Create_options	Comment
-t1	mroonga	10	Fixed	0	0	0	0	0	0	1	NULL	NULL	NULL	latin1_swedish_ci	NULL		
-drop table t1;
-create table t1 (c1 int, primary key(c1));
-show table status like 't1';
-Name	Engine	Version	Row_format	Rows	Avg_row_length	Data_length	Max_data_length	Index_length	Data_free	Auto_increment	Create_time	Update_time	Check_time	Collation	Checksum	Create_options	Comment
-t1	mroonga	10	Fixed	0	0	0	0	0	0	NULL	NULL	NULL	NULL	latin1_swedish_ci	NULL		
-drop table t1;

  Added: test/sql/suite/mroonga_storage/r/show_table_status_for_auto_increment.result (+11 -0) 100644
===================================================================
--- /dev/null
+++ test/sql/suite/mroonga_storage/r/show_table_status_for_auto_increment.result    2012-04-27 03:35:25 +0900 (7769636)
@@ -0,0 +1,11 @@
+drop table if exists t1;
+create table t1 (c1 int auto_increment, primary key(c1));
+show table status like 't1';
+Name	Engine	Version	Row_format	Rows	Avg_row_length	Data_length	Max_data_length	Index_length	Data_free	Auto_increment	Create_time	Update_time	Check_time	Collation	Checksum	Create_options	Comment
+t1	mroonga	10	Fixed	0	0	0	0	0	0	1	NULL	NULL	NULL	latin1_swedish_ci	NULL		
+drop table t1;
+create table t1 (c1 int, primary key(c1));
+show table status like 't1';
+Name	Engine	Version	Row_format	Rows	Avg_row_length	Data_length	Max_data_length	Index_length	Data_free	Auto_increment	Create_time	Update_time	Check_time	Collation	Checksum	Create_options	Comment
+t1	mroonga	10	Fixed	0	0	0	0	0	0	NULL	NULL	NULL	NULL	latin1_swedish_ci	NULL		
+drop table t1;

  Modified: test/sql/suite/mroonga_storage/t/show_table_status.test (+0 -9)
===================================================================
--- test/sql/suite/mroonga_storage/t/show_table_status.test    2012-04-26 23:49:40 +0900 (38461ae)
+++ test/sql/suite/mroonga_storage/t/show_table_status.test    2012-04-27 03:35:25 +0900 (f47df39)
@@ -1,5 +1,4 @@
 # Copyright(C) 2010 Tetsuro IKEDA
-# Copyright(C) 2012 Kentoku SHIBA
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -31,12 +30,4 @@ show table status like 't2';
 
 drop table t1,t2;
 
-create table t1 (c1 int auto_increment, primary key(c1));
-show table status like 't1';
-drop table t1;
-
-create table t1 (c1 int, primary key(c1));
-show table status like 't1';
-drop table t1;
-
 --source include/have_mroonga_deinit.inc

  Copied: test/sql/suite/mroonga_storage/t/show_table_status_for_auto_increment.test (+1 -12) 83%
===================================================================
--- test/sql/suite/mroonga_storage/t/show_table_status.test    2012-04-26 23:49:40 +0900 (38461ae)
+++ test/sql/suite/mroonga_storage/t/show_table_status_for_auto_increment.test    2012-04-27 03:35:25 +0900 (cb11231)
@@ -1,4 +1,3 @@
-# Copyright(C) 2010 Tetsuro IKEDA
 # Copyright(C) 2012 Kentoku SHIBA
 #
 # This library is free software; you can redistribute it and/or
@@ -18,19 +17,9 @@
 --source include/have_mroonga.inc
 
 --disable_warnings
-drop table if exists t1, t2, t3;
+drop table if exists t1;
 --enable_warnings
 
-create table t1 (c1 int);
-show table status;
-
-create table t2 (c1 int, c2 int);
-show table status;
-
-show table status like 't2';
-
-drop table t1,t2;
-
 create table t1 (c1 int auto_increment, primary key(c1));
 show table status like 't1';
 drop table t1;




Groonga-mysql-commit メーリングリストの案内
Back to archive index