1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

create table options bug:

alter table does not reset HA_OPTION_TEXT_CREATE_OPTIONS when the last option value is removed
This commit is contained in:
Sergei Golubchik
2010-04-30 22:04:35 +02:00
parent b58cb7c4a2
commit 2b8de050bf
3 changed files with 12 additions and 0 deletions

View File

@@ -111,6 +111,12 @@ Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ULL`=4660
ALTER TABLE t1 ULL=DEFAULT;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1
DROP TABLE t1;
SET @@SQL_MODE=@OLD_SQL_MODE;
select 1;