Commit 8bd9992e authored by unknown's avatar unknown
Browse files

Make test predictable


mysql-test/r/information_schema.result:
  Ensure that rows are in given order
mysql-test/t/information_schema.test:
  Ensure that rows are in given order
parent 95410549
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -273,10 +273,10 @@ id select_type table type possible_keys key key_len ref rows Extra
1	SIMPLE	#	ALL	NULL	NULL	NULL	NULL	2	
1	SIMPLE	#	ALL	NULL	NULL	NULL	NULL	2	Using where
select a.ROUTINE_NAME, b.name from information_schema.ROUTINES a,
mysql.proc b where a.ROUTINE_NAME = convert(b.name using utf8);
mysql.proc b where a.ROUTINE_NAME = convert(b.name using utf8) order by 1;
ROUTINE_NAME	name
sub1	sub1
sel2	sel2
sub1	sub1
select count(*) from information_schema.ROUTINES;
count(*)
2
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ information_schema.SCHEMATA b where
a.ROUTINE_SCHEMA = b.SCHEMA_NAME;

select a.ROUTINE_NAME, b.name from information_schema.ROUTINES a,
mysql.proc b where a.ROUTINE_NAME = convert(b.name using utf8);
mysql.proc b where a.ROUTINE_NAME = convert(b.name using utf8) order by 1;
select count(*) from information_schema.ROUTINES;

connect (user1,localhost,mysqltest_1,,);