1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-25 17:25:02 +03:00
Files
mariadb/mysql-test/suite
Alexander Barkov 5e12d49205 MDEV-34295 CAST(char_col AS DOUBLE) prints redundant spaces in a warning
Field_string::val_int(), Field_string::val_real(), Field_string::val_decimal()
passed the whole buffer of field_length bytes to data type conversion routines.
This made conversion routines to print redundant trailing spaces in case of warnings.

Adding a method Field_string::to_lex_cstring() and using it inside
val_int(), val_real(), val_decimal(), val_str().

After this change conversion routines get the same value with what val_str() returns,
and no redundant trailing spaces are displayed.
2024-06-04 15:34:14 +04:00
..
2024-02-12 11:38:13 +02:00
2024-04-23 10:55:35 +02:00
2024-05-08 20:01:17 +02:00
2024-04-15 17:46:49 +02:00
2023-12-02 01:02:50 +01:00
2024-05-08 20:01:17 +02:00
2024-02-13 14:25:21 +02:00
2023-12-21 11:30:32 +02:00