mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
restore ha_example::check_if_incompatible_data(), create_info->fields_option_struct,
create_info->indexes_option_struct lost in the merge. add test cases.
This commit is contained in:
@ -130,12 +130,16 @@ t1 CREATE TABLE `t1` (
|
||||
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ULL`=10000000000000000000 `one_or_two`='ttt' `YESNO`=SSS
|
||||
#alter table
|
||||
alter table t1 ULL=10000000;
|
||||
Warnings:
|
||||
Note 1105 EXAMPLE DEBUG: ULL 4294967290 -> 10000000
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` int(11) DEFAULT NULL
|
||||
) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `one_or_two`='ttt' `YESNO`=SSS `ULL`=10000000
|
||||
alter table t1 change a a int complex='c,c,c';
|
||||
Warnings:
|
||||
Note 1105 EXAMPLE DEBUG: Field `a` COMPLEX '(null)' -> 'c,c,c'
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
@ -160,6 +164,8 @@ select create_options from information_schema.tables where table_schema='test' a
|
||||
create_options
|
||||
`ULL`=4660
|
||||
ALTER TABLE t1 ULL=DEFAULT;
|
||||
Warnings:
|
||||
Note 1105 EXAMPLE DEBUG: ULL 4660 -> 4294967295
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
|
Reference in New Issue
Block a user