MDEV-9014 SHOW TRIGGERS not case sensitive

use table_alias_charset for comparing table names, not files_charset_info
This commit is contained in:
Sergei Golubchik 2015-10-28 21:32:07 +01:00
commit 56f04e0dfd
3 changed files with 14 additions and 1 deletions

View file

@ -102,3 +102,11 @@ CREATE TRIGGER t1_bi BEFORE INSERT ON t1 FOR EACH ROW SET new.a= 1;
RENAME TABLE t1 TO T1;
ALTER TABLE T1 RENAME t1;
DROP TABLE t1;
#
# MDEV-9014 SHOW TRIGGERS not case sensitive
#
create table t1 (a int);
create trigger t1_bi before insert on t1 for each row set new.a= 1;
show triggers like '%T1%';
drop table t1;