mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
If VARCHAR strips only trailing spaces, then produce
a note, not a warning or error.
This commit is contained in:
@ -255,7 +255,7 @@ insert into t1 values('+ ', '+ ', '+ ');
|
||||
set @a=repeat(' ',20);
|
||||
insert into t1 values (concat('+',@a),concat('+',@a),concat('+',@a));
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'v' at row 1
|
||||
Note 1265 Data truncated for column 'v' at row 1
|
||||
select concat('*',v,'*',c,'*',t,'*') from t1;
|
||||
concat('*',v,'*',c,'*',t,'*')
|
||||
*+ *+*+ *
|
||||
|
Reference in New Issue
Block a user