Commit 3d5be633 authored by unknown's avatar unknown
Browse files

Fixed some test cases that was not forgotten in a recent patch


sql/sql_show.cc:
  Cleanup comment
  Removed extra end space
parent a4ceba69
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1153,12 +1153,12 @@ def id 8 3 1 N 32929 0 63
def					select_type	253	19	6	N	1	31	8
def					table	253	64	2	Y	0	31	8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					possible_keys	252	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	8	3	0	Y	32928	0	63
def					ref	253	1024	0	Y	0	31	8
def					ref	252	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
def					Extra	252	255	0	N	1	31	8
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t9	ALL	NULL	NULL	NULL	NULL	3	
test_sequence
+3 −3
Original line number Diff line number Diff line
@@ -1153,12 +1153,12 @@ def id 8 3 1 N 32929 0 63
def					select_type	253	19	6	N	1	31	8
def					table	253	64	2	Y	0	31	8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					possible_keys	252	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	8	3	0	Y	32928	0	63
def					ref	253	1024	0	Y	0	31	8
def					ref	252	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
def					Extra	252	255	0	N	1	31	8
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t9	ALL	NULL	NULL	NULL	NULL	2	
test_sequence
+20 −17
Original line number Diff line number Diff line
@@ -640,10 +640,12 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)

/*
   returns the length of the longest type on the given table.

   This is used so that show fields will return the data using the proper 
   lengths instead of forcing columns such as type to always return with a 
   given length.
*/

uint get_longest_type_in_table(TABLE *table, const char *wild)
{  
  Field **ptr,*field;
@@ -663,6 +665,7 @@ uint get_longest_type_in_table(TABLE *table, const char *wild)
  return max_len;
}


/***************************************************************************
** List all columns in a table_list->real_name
***************************************************************************/