1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-09 11:41:36 +03:00
Files
mariadb/mysql-test/suite/compat/oracle/r
Sergei Petrunia feaeb27b69 MDEV-29152: Assertion failed ... upon TO_CHAR with wrong argument
Item_func_tochar::check_arguments() didn't check if its arguments
each had one column. Failing to make this check and proceeding would
eventually cause either an assertion failure or the execution would
reach "MY_ASSERT_UNREACHABLE();" which would produce a crash with
a misleading stack trace.

* Fixed Item_func_tochar::check_arguments() to do the required check.

* Also fixed MY_ASSERT_UNREACHABLE() to terminate the program. Just
"executing" __builtin_unreachable() used to cause "undefined results",
which in my experience was a crash with corrupted stack trace.
2023-07-12 12:05:59 +03:00
..
2022-04-21 17:46:40 +03:00
2022-09-20 16:53:20 +03:00
2022-05-18 01:22:29 +02:00
2020-05-25 19:41:58 +03:00
2022-09-20 16:53:20 +03:00
2020-04-15 09:56:03 +03:00
2020-04-15 09:56:03 +03:00
2022-11-17 08:37:35 +02:00
2022-09-20 16:53:20 +03:00
2022-09-20 16:53:20 +03:00
2022-09-20 16:53:20 +03:00
2022-04-21 15:33:50 +03:00