summaryrefslogtreecommitdiff
path: root/sql/event_data_objects.cc
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil@mysql.com>2008-07-09 16:52:26 +0500
committerRamil Kalimullin <ramil@mysql.com>2008-07-09 16:52:26 +0500
commitd59b37130513b7d8b20f98f9bfe49546cc1e8757 (patch)
treef1f32846f38671d1d6d0e04ed4fbace4eeb99e61 /sql/event_data_objects.cc
parent5cf61bd3446a4e4d8334f407fcfe0bdfdfe5e116 (diff)
downloadmariadb-git-d59b37130513b7d8b20f98f9bfe49546cc1e8757.tar.gz
Fix for bug#37669: Server crash by setting "@@session.innodb_table_locks"
Problem: reading/writing data from/to an address without proper alignment leads to SIGBUS on some platforms. Fix: use the correct data type when dereferencing variable values. sql/sql_plugin.cc: Fix for bug#37669: Server crash by setting "@@session.innodb_table_locks" Use *(my_bool *) typecast to avoid misaligned reading/writing and to get/set proper boolean values.
Diffstat (limited to 'sql/event_data_objects.cc')
0 files changed, 0 insertions, 0 deletions