mariadb/mysql-test/suite
Magne Mahre 64b639260c Bug#39932 "create table fails if column for FK is in different
case than in corr index".
      
Server was unable to find existing or explicitly created supporting
index for foreign key if corresponding statement clause used field
names in case different than one used in key specification and created
yet another supporting index.
In cases when name of constraint (and thus name of generated index)
was the same as name of existing/explicitly created index this led
to duplicate key name error.
      
The problem was that unlike all other code Key_part_spec::operator==()
compared field names in case sensitive fashion. As result routines
responsible for getting rid of redundant generated supporting indexes
for foreign key were not working properly for versions of field names
using different cases.

(backported from mysql-trunk)


sql/sql_class.cc:
  Make field name comparison case-insensitive like it is
  in the rest of server.
2010-09-01 19:38:34 +02:00
..
binlog Bug #34283 mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
bugs Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
engines Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
federated Fix for bug#32426: "FEDERATED query returns corrupt results 2010-03-05 14:51:37 +04:00
funcs_1 merge from 5.1-mtr 2010-08-06 11:13:52 +02:00
funcs_2 merge 5.0-> 5.1 2009-04-24 13:00:17 -04:00
ibmdb2i Bug#49329 example (and other) engines use wrong collation for open tables hash 2009-12-11 12:31:16 +05:30
im
innodb Bug#39932 "create table fails if column for FK is in different 2010-09-01 19:38:34 +02:00
innodb_plugin Bug #55503 MTR fails to filter LEAK SUMMARY from valgrind report of restarted servers 2010-08-06 11:35:17 +02:00
jp Bug #45159 : some tests in suite "jp" fail in embedded server (use LOAD DATA) 2009-09-11 15:52:08 +03:00
large_tests
manual Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
ndb Bug #49132 Replication failure on temporary table + DDL 2010-01-22 17:38:21 +08:00
ndb_team Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
parts Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
rpl merge 2010-08-20 12:09:17 +03:00
rpl_ndb Postfix BUG#49741 2010-05-25 11:39:45 +08:00
stress
sys_vars Bug#53191 Lock_time in slow log is negative when logging stored routines 2010-06-08 10:58:19 +02:00