mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added --compatible mode to mysqldump.
client/mysqldump.c: Added --compatible mode to mysqldump. This mode can take the following values: mysql323,mysql40,postgresql,oracle,mssql,db2,sapdb,no_key_options, no_table_options,no_field_options. The table definition (SHOW CREATE TABLE name) will be compatible with the given mode. mysql-test/r/sql_mode.result: Fixed a bug in sql_show.cc, which affected the result. sql/sql_show.cc: Fixed a bug.
This commit is contained in:
@@ -70,7 +70,7 @@ t1 CREATE TABLE `t1` (
|
||||
`email` varchar(60) NOT NULL default '',
|
||||
PRIMARY KEY (`a`),
|
||||
UNIQUE KEY `email` (`email`)
|
||||
) TYPE=HEAP CHARSET=latin1 ROW_FORMAT=DYNAMIC
|
||||
) TYPE=HEAP ROW_FORMAT=DYNAMIC
|
||||
set @@sql_mode="postgresql,oracle,mssql,db2,sapdb";
|
||||
show variables like 'sql_mode';
|
||||
Variable_name Value
|
||||
|
||||
Reference in New Issue
Block a user