diff options
author | unknown <tsmith@ramayana.hindu.god> | 2007-10-10 14:00:57 -0600 |
---|---|---|
committer | unknown <tsmith@ramayana.hindu.god> | 2007-10-10 14:00:57 -0600 |
commit | 80ace294160241e48e211965ad412ad1d4806f73 (patch) | |
tree | f1931f4b6b596a733e55a7ecbea7f547d7aa4611 /mysql-test | |
parent | e33a069c8c890fc3698bfa42a92f33d7844fe54e (diff) | |
download | mariadb-git-80ace294160241e48e211965ad412ad1d4806f73.tar.gz |
Bug #31517: Potential crash due to access of NULL thd in mark_transaction_to_rollback()
Introduced in mark_transaction_to_rollback(), part of fix for bug 24989;
fix is to check thd for NULL before using it.
sql/sql_class.cc:
It is possible that mark_transaction_to_rollback() may be
called in rare circumstances when thd is NULL (e.g., from
some calls to convert_error_code_to_mysql()). Don't use thd
if it is NULL.
Diffstat (limited to 'mysql-test')
0 files changed, 0 insertions, 0 deletions