1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-27 05:41:41 +03:00
Files
mariadb/mysql-test/suite/funcs_1/r
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
..
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00