summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorunknown <tsmith@ramayana.hindu.god>2007-10-10 14:00:57 -0600
committerunknown <tsmith@ramayana.hindu.god>2007-10-10 14:00:57 -0600
commit1e03f6a72d8304c1fab955b890e6c817a3908355 (patch)
treef1931f4b6b596a733e55a7ecbea7f547d7aa4611 /sql/sql_cache.h
parent03ae735a0507059afcdcf22855b045c64318f0d5 (diff)
downloadmariadb-git-1e03f6a72d8304c1fab955b890e6c817a3908355.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 'sql/sql_cache.h')
0 files changed, 0 insertions, 0 deletions