Fixed memory leak that occured after merge with 4.1
We should not replace Item_arena in Item_bool_func2::fix_length_and_dec() if this is conventional statement, since in this case THD::current_arena is the same as active arena and we will overwrite arena with its older version during restore_backup_item_arena() call.
Showing
Please register or sign in to comment