From b4111c4d51ec18dd49e2323578e84653ed8cbfb4 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Apr 2006 14:45:37 +0500 Subject: Bug#18736 test case 'upgrade' fails "upgrade" failed on windows, because of lower_case_table_name. This fix changes letters to lower case, not to depend on OS. Note, this change does not affect coverage of Bug N 17142 "Crash if create with encoded name", which the test war originally written for. mysql-test/r/upgrade.result: Changing "P" to "p" not to depend on lower_case_table_name mysql-test/t/upgrade.test: Changing "P" to "p" not to depend on lower_case_table_name --- mysql-test/t/upgrade.test | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'mysql-test/t/upgrade.test') diff --git a/mysql-test/t/upgrade.test b/mysql-test/t/upgrade.test index f2017d81d5c..5c5046cf7e9 100644 --- a/mysql-test/t/upgrade.test +++ b/mysql-test/t/upgrade.test @@ -34,16 +34,16 @@ drop database `mysqltest-1`; # Bug#17142: Crash if create with encoded name # --disable_warnings -drop table if exists `txu@0023P@0023p1`; -drop table if exists `txu#P#p1`; +drop table if exists `txu@0023p@0023p1`; +drop table if exists `txu#p#p1`; --enable_warnings -create table `txu#P#p1` (s1 int); -insert into `txu#P#p1` values (1); +create table `txu#p#p1` (s1 int); +insert into `txu#p#p1` values (1); --error 1146 -select * from `txu@0023P@0023p1`; -create table `txu@0023P@0023p1` (s1 int); -insert into `txu@0023P@0023p1` values (2); -select * from `txu@0023P@0023p1`; -select * from `txu#P#p1`; -drop table `txu@0023P@0023p1`; -drop table `txu#P#p1`; +select * from `txu@0023p@0023p1`; +create table `txu@0023p@0023p1` (s1 int); +insert into `txu@0023p@0023p1` values (2); +select * from `txu@0023p@0023p1`; +select * from `txu#p#p1`; +drop table `txu@0023p@0023p1`; +drop table `txu#p#p1`; -- cgit v1.2.1