mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
--{skip-}merge option added which allows the user to disable merge engine and
to avoid the potential security problem. (see bug #15195: Security Breach with MERGE table)
This commit is contained in:
@ -171,6 +171,13 @@ alter table t1 engine=isam;
|
||||
Warnings:
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
drop table t1;
|
||||
create table t1 (id int) engine=merge;
|
||||
Warnings:
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
alter table t1 engine=merge;
|
||||
Warnings:
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
drop table t1;
|
||||
create table t1 (id int) type=heap;
|
||||
Warnings:
|
||||
Warning 1287 'TYPE=storage_engine' is deprecated; use 'ENGINE=storage_engine' instead
|
||||
|
@ -1 +1 @@
|
||||
--skip-isam
|
||||
--skip-isam --skip-merge
|
||||
|
@ -118,6 +118,10 @@ create table t1 (id int) engine=isam;
|
||||
alter table t1 engine=isam;
|
||||
drop table t1;
|
||||
|
||||
create table t1 (id int) engine=merge;
|
||||
alter table t1 engine=merge;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test for deprecated TYPE= syntax
|
||||
#
|
||||
|
Reference in New Issue
Block a user