From 9cfcc21450b0c6defd13c1e231ad25cad6db855b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 8 Aug 2006 08:47:58 -0400 Subject: BUG#21173: SHOW TABLE STATUS crashes on InnoDB tables Don't use get_auto_increment on tables without auto_increment fields mysql-test/r/partition.result: new test case mysql-test/t/partition.test: new test case sql/ha_partition.cc: Don't use get_auto_increment on tables without auto_increment fields --- mysql-test/r/partition.result | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mysql-test/r/partition.result') diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index e95489864f7..1d186f0a56a 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -1,5 +1,13 @@ drop table if exists t1; create table t1 (a int) +engine = innodb +partition by key (a); +insert into t1 values (0); +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 InnoDB 10 Compact 2 8192 16384 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL partitioned +drop table t1; +create table t1 (a int) partition by list (a) (partition p0 values in (1)); create procedure pz() -- cgit v1.2.1