[MDEV-12862] Data type of @a:=1e0 depends on the session character set Created: 2017-05-22 Updated: 2017-05-22 Resolved: 2017-05-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype | ||
| Issue Links: |
|
||||||||
| Description |
|
I start mysql --column-type-info test and run this script:
It reports the following metadata:
Now I run the same script, with latin1 changed to utf8:
Metadata changes to:
Notice, it reports length as 3 and 9 for latin1 and utf8 session character sets respectively. |
| Comments |
| Comment by Alexander Barkov [ 2017-05-22 ] |
|
Pushed into bb-10.2-ext |