mirror of
https://github.com/MariaDB/server.git
synced 2025-12-09 08:01:34 +03:00
Bug#26793 mysqld crashes when doing specific query on information_schema
- Drop the newly created user user1@localhost - Cleanup testcase
This commit is contained in:
@@ -3,11 +3,6 @@ CREATE TABLE `test` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||
`t` VARCHAR( 10 ) NOT NULL
|
||||
) ENGINE = ndbcluster;
|
||||
create table test.db_temp as select * from mysql.db where user='';
|
||||
delete from mysql.db where user='';
|
||||
flush privileges;
|
||||
GRANT USAGE ON *.* TO user1@localhost IDENTIFIED BY 'pass';
|
||||
DROP TABLE `test`.`test`;
|
||||
insert into mysql.db select * from test.db_temp;
|
||||
drop table db_temp;
|
||||
flush privileges;
|
||||
drop user user1@localhost;
|
||||
|
||||
Reference in New Issue
Block a user