List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:July 31 2008 12:37pm
Subject:bzr commit into mysql-6.0-falcon branch (vvaintroub:2763)
View as plain text  
#At file:///C:/bzr/mysql-6.0-falcon-team/

 2763 Vladislav Vaintroub	2008-07-31
      Bug 22161 test case relies on the fact that there will be exactly 3 "specified key
too long" messages
      (while creating index on 1 row).Sometimes there are only 2 of them, no clue why.
      Disable warnings for "CREATE INDEX", Falcon is not responsible for them. 
modified:
  mysql-test/suite/falcon/r/falcon_bug_22161.result
  mysql-test/suite/falcon/t/falcon_bug_22161.test

=== modified file 'mysql-test/suite/falcon/r/falcon_bug_22161.result'
--- a/mysql-test/suite/falcon/r/falcon_bug_22161.result	2008-07-14 05:32:03 +0000
+++ b/mysql-test/suite/falcon/r/falcon_bug_22161.result	2008-07-31 10:37:43 +0000
@@ -9,10 +9,6 @@ CREATE INDEX i1 ON t1 (a);
 ERROR 42000: BLOB column 'a' can't be used in key specification with the used table type
 ALTER TABLE t1 MODIFY COLUMN a varchar(30000);
 CREATE INDEX i1 ON t1 (a);
-Warnings:
-Warning	1071	Specified key was too long; max key length is 1100 bytes
-Warning	1071	Specified key was too long; max key length is 1100 bytes
-Warning	1071	Specified key was too long; max key length is 1100 bytes
 SELECT count(*) FROM t1;
 count(*)
 1

=== modified file 'mysql-test/suite/falcon/t/falcon_bug_22161.test'
--- a/mysql-test/suite/falcon/t/falcon_bug_22161.test	2008-02-06 15:21:13 +0000
+++ b/mysql-test/suite/falcon/t/falcon_bug_22161.test	2008-07-31 10:37:43 +0000
@@ -25,7 +25,9 @@ ALTER TABLE t1 MODIFY COLUMN a text;
 --error ER_BLOB_USED_AS_KEY
 CREATE INDEX i1 ON t1 (a);
 ALTER TABLE t1 MODIFY COLUMN a varchar(30000);
+--disable_warnings
 CREATE INDEX i1 ON t1 (a);
+--enable_warnings
 
 # ----------------------------------------------------- #
 # --- Check                                         --- #

Thread
bzr commit into mysql-6.0-falcon branch (vvaintroub:2763) Vladislav Vaintroub31 Jul