Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Reproduce steps:
create table test(a char(2), b varchar(2)); insert into test values('L ', 'L '); select length(a),length(b) from test; +------+------+ | _c0 | _c1 | +------+------+ | 1 | 2 | +------+------+ 1 row selected (0.185 seconds)
Here char with trailing spaces are trimmed, whereas leading spaces are not trimmed.