On Tue, 20 Aug 2024 05:09:00 -0000 zxc072211--- via discuss <[email protected]> wrote:
> The error at #0 is "... Item::build_clone ... at > /usr/src/debug/MariaDB-/src_0/sql/item.h:1928". The previous stack > frames keep repeating two frames: #1 > Item_func_case_simple::do_build_clone ... at > /usr/src/debug/MariaDB-/src_0/sql/item_cmpfunc.h:2448 #2 ... > Item::build_clone ... at /usr/src/debug/MariaDB-/src_0/sql/item.h:1928 > > My OS is Rocky Linux 8.10. The MariaDB server versions where I > encountered this issue are 10.6.19 and 10.11.9. The MariaDB server > version without issues is 10.6.18. Thank you for providing information about the stack trace and showing the version information! Interesting that Item_func_case_simple::do_build_clone (was build_clone in the previous version) is the only such method that calls build_clone from a parent class: https://github.com/MariaDB/server/compare/mariadb-10.6.18...mariadb-10.6.19#diff-0e6ccc944c6ab0372fdfcdb1b4fc6ee555f3053e06d4871406f8eb54375c638aL2455-R2458 Perhaps it should have been changed like Item_func_in::do_build_clone and also call do_build_clone from a parent class? https://github.com/MariaDB/server/compare/mariadb-10.6.18...mariadb-10.6.19#diff-0e6ccc944c6ab0372fdfcdb1b4fc6ee555f3053e06d4871406f8eb54375c638aL2658-R2660 That would resolve to Item_func_or_sum::do_build_clone. Otherwise, indeed, Item_func_case::build_clone is inherited straight from class Item and calls do_build_clone once again. At least that's what Doxygen tells me. -- Best regards, Ivan _______________________________________________ discuss mailing list -- [email protected] To unsubscribe send an email to [email protected]
