mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-10775 System table in InnoDB format allowed in MariaDB could lead to crash
when opening a system table for a SELECT-like read, pretend (for the sake of engines) it's SQLCOM_SELECT
This commit is contained in:
8
mysql-test/suite/innodb/r/system_tables.result
Normal file
8
mysql-test/suite/innodb/r/system_tables.result
Normal file
@@ -0,0 +1,8 @@
|
||||
alter table mysql.time_zone_name engine=InnoDB;
|
||||
create table envois3 (starttime datetime) engine=InnoDB;
|
||||
insert envois3 values ('2008-08-11 22:43:00');
|
||||
select convert_tz(starttime,'UTC','Europe/Moscow') starttime from envois3;
|
||||
starttime
|
||||
2008-08-12 02:43:00
|
||||
drop table envois3;
|
||||
alter table mysql.time_zone_name engine=MyISAM;
|
||||
Reference in New Issue
Block a user