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-06-04 15:34:14 +04:00
2022-09-30 08:48:57 +02:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 08:51:17 -07:00
2022-09-12 22:10:39 +04:00
2022-12-13 14:39:18 +02:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-12-02 16:19:13 +01:00
2023-12-02 01:02:50 +01:00
2023-12-02 01:02:50 +01:00
2023-09-22 12:10:38 +02:00
2023-09-22 12:10:38 +02:00
2022-09-30 08:48:57 +02:00
2021-03-22 18:10:39 +11:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-14 16:24:51 +04:00
2022-09-14 16:24:51 +04:00
2023-11-08 12:59:00 +01:00
2023-10-23 17:40:03 +02:00
2022-09-13 16:36:38 +03:00
2022-09-12 22:10:39 +04:00
2021-07-02 14:55:52 +03:00
2021-07-02 17:17:33 +10:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-30 08:48:57 +02:00
2022-10-02 14:38:13 +02:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2024-06-04 15:34:14 +04:00
2022-09-30 08:48:57 +02:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 08:51:17 -07:00
2024-06-04 15:34:14 +04:00
2022-09-30 08:48:57 +02:00
2022-12-13 14:39:18 +02:00
2022-12-13 14:39:18 +02:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 23:11:10 -07:00
2022-09-14 16:24:51 +04:00
2022-09-14 16:24:51 +04:00
2022-09-14 16:24:51 +04:00
2022-09-14 16:24:51 +04:00
2022-10-02 14:38:13 +02:00