1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Renamed stripp_sp -> strip_sp

Remove end space from ENUM and SET strings
This commit is contained in:
monty@hundin.mysql.fi
2002-05-27 23:21:49 +03:00
parent 07886933b8
commit 6d0e43c73b
10 changed files with 55 additions and 13 deletions

View File

@ -1614,3 +1614,11 @@ field
429001
429002
429003
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('','a','b') NOT NULL default ''
) TYPE=MyISAM
Table Create Table
t1 CREATE TABLE `t1` (
`a` enum('','a','b') NOT NULL default 'b'
) TYPE=MyISAM

View 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

File diff suppressed because one or more lines are too long

View 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;