mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge with 3.23.51
This commit is contained in:
8
mysql-test/r/type_set.result
Normal file
8
mysql-test/r/type_set.result
Normal file
@ -0,0 +1,8 @@
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` set('','a','b') NOT NULL default ''
|
||||
) TYPE=MyISAM
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` set('','a','b') NOT NULL default 'b'
|
||||
) TYPE=MyISAM
|
@ -183,7 +183,7 @@ drop table t1;
|
||||
|
||||
|
||||
create table t1 (a decimal(10,2));
|
||||
# The -0.0 needs to be typed as not all platforms supports this
|
||||
# The -0.0 needs to be quoted as not all platforms supports this
|
||||
insert into t1 values (0.0),("-0.0"),(+0.0),(01.0),(+01.0),(-01.0);
|
||||
insert into t1 values (-.1),(+.1),(.1);
|
||||
insert into t1 values (00000000000001),(+0000000000001),(-0000000000001);
|
||||
|
File diff suppressed because one or more lines are too long
10
mysql-test/t/type_set.test
Normal file
10
mysql-test/t/type_set.test
Normal file
@ -0,0 +1,10 @@
|
||||
#
|
||||
# Test of SET with space
|
||||
#
|
||||
|
||||
create table t1 (a set (' ','a','b') not null);
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
create table t1 (a set (' ','a','b ') not null default 'b ');
|
||||
show create table t1;
|
||||
drop table t1;
|
Reference in New Issue
Block a user