1
0
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:
bar@mysql.com
2005-01-11 16:49:45 +04:00
parent a55cd1f1c4
commit 691b3283d2
5 changed files with 23 additions and 9 deletions

View File

@ -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,'*')
*+ *+*+ *