mirror of https://github.com/MariaDB/server
Browse Source
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.
bb-10.2-MDEV-22726-aria-non-trans-log
4 changed files with 62 additions and 0 deletions
Loading…
Reference in new issue