DB-744 ER_GET_ERRNO has additional parameter on MariaDB 10 which crashes tokudb