MariaDB: fix thread specific data mistake

Signed-off-by: swpd <swpdtz@gmail.com>