This changed in 5.6 because 5.6 has different behavior on THD destroy which causes to memory corruption when thread released without LOCK_thd_data locked. On 5.5 it is not necessary. See https://mariadb.atlassian.net/browse/MDEV-4889 for details.
This changed in 5.6 because 5.6 has different behavior on THD destroy which causes to memory corruption when thread released without LOCK_thd_data locked. On 5.5 it is not necessary. See https:/ /mariadb. atlassian. net/browse/ MDEV-4889 for details.