Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added test case for "SHOW TABLE STATUS".
- Loading branch information
Tetsuro IKEDA
committed
Mar 24, 2010
1 parent
7dd8a83
commit 01f4bca
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| install plugin mroonga soname 'libmroonga.so'; | ||
| set storage_engine=mroonga; | ||
| drop database if exists db1; | ||
| create database db1; | ||
| use db1; | ||
| create table t1 (c1 int); | ||
| show table status; | ||
| 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 | ||
| create table t2 (c1 int, c2 int); | ||
| show table status; | ||
| 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 | ||
| t2 mroonga 10 Fixed 0 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL | ||
| 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 database db1; | ||
| uninstall plugin mroonga; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --disable_warnings | ||
| install plugin mroonga soname 'libmroonga.so'; | ||
| set storage_engine=mroonga; | ||
| drop database if exists db1; | ||
| create database db1; | ||
| use db1; | ||
| --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'; | ||
|
|
||
| --disable_warnings | ||
| drop database db1; | ||
| uninstall plugin mroonga; | ||
| --enable_warnings |