mirror of
https://github.com/MariaDB/server.git
synced 2025-11-18 07:48:43 +03:00
thd->allow_sum_func was left 'true' after previous statement thus allowing sum funcs to be present in conditions. thd->allow_sum_func should be set to 0 for each query and each prepared statement reinitialization. This is done in lex_start() and reset_stmt_for_execute().
7.2 KiB
7.2 KiB