mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
results) Before this fix, the function BENCHMARK() would fail to evaluate expressions like "(select avg(a) from t1)" in debug builds (with an assert), or would report a time of zero in non debug builds. The root cause is that evaluation of DECIMAL_RESULT expressions was not supported in Item_func_benchmark::val_int(). This has been fixed by this change.
4.7 KiB
4.7 KiB