mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
086a81986b
Comment out unknown options in SHOW CREATE TABLE unless IGNORE_BAD_TABLE_OPTIONS is used
28 lines
740 B
Text
28 lines
740 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
install plugin example soname 'ha_example.so';
|
|
set storage_engine=example;
|
|
create table t1 (a int not null) ull=12340;
|
|
show create table t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) NOT NULL
|
|
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ull`=12340 `VAROPT`='5'
|
|
show create table t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) NOT NULL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 /* `ull`=12340 */
|
|
set sql_mode=ignore_bad_table_options;
|
|
show create table t1;
|
|
Table Create Table
|
|
t1 CREATE TABLE `t1` (
|
|
`a` int(11) NOT NULL
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 `ull`=12340
|
|
drop table t1;
|
|
set storage_engine=default;
|
|
select 1;
|
|
1
|
|
1
|
|
uninstall plugin example;
|
|
include/rpl_end.inc
|