mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
Item_func_json_extract did not implement val_decimal(),
so CAST(JSON_EXTRACT('{"x":true}', '$.x') AS DECIMAL) erroneously
returned 0 with a warning because of convertion from the string "true"
to decimal.
Implementing val_decimal(), so boolean values are correctly handled.
18 KiB
18 KiB