From a3170bf6b3dbabcc0c8063b24c2d20ba66ec2125 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 27 May 2006 17:36:45 -0400 Subject: BUG#19695: Showed partition options when table options were not shown mysql-test/r/ndb_partition_key.result: Manicural changes removed a space from a double-space mysql-test/r/partition.result: Manicural changes removed a space from a double-space Added new test case mysql-test/r/partition_02myisam.result: Manicural changes removed a space from a double-space mysql-test/r/partition_range.result: Manicural changes removed a space from a double-space mysql-test/t/partition.test: New test case sql/sql_partition.cc: Removed unnecessary extra spaces Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE sql/sql_partition.h: Removed unnecessary extra spaces Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE sql/sql_show.cc: Removed unnecessary extra spaces Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE sql/sql_table.cc: Removed unnecessary extra spaces Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE --- sql/sql_table.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sql_table.cc') diff --git a/sql/sql_table.cc b/sql/sql_table.cc index f890f504952..1d720ce150a 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1231,7 +1231,7 @@ bool mysql_write_frm(ALTER_PARTITION_PARAM_TYPE *lpt, uint flags) { if (!(part_syntax_buf= generate_partition_syntax(part_info, &syntax_len, - TRUE, FALSE))) + TRUE, FALSE, TRUE))) { DBUG_RETURN(TRUE); } @@ -3149,7 +3149,7 @@ bool mysql_create_table_internal(THD *thd, */ if (!(part_syntax_buf= generate_partition_syntax(part_info, &syntax_len, - TRUE, FALSE))) + TRUE, FALSE, TRUE))) goto err; part_info->part_info_string= part_syntax_buf; part_info->part_info_len= syntax_len; -- cgit v1.2.1