summaryrefslogtreecommitdiff
path: root/storage/heap
diff options
context:
space:
mode:
authorSergey Vojtovich <sergey.vojtovich@oracle.com>2011-06-03 11:27:11 +0400
committerSergey Vojtovich <sergey.vojtovich@oracle.com>2011-06-03 11:27:11 +0400
commit9c16284758f748733fc47e1c309e5d381081e8d2 (patch)
tree97873a52ebb2bbad7163dd1f540943a267995794 /storage/heap
parentbd708b42400ff2ca8ba22accc696acd3539d9859 (diff)
downloadmariadb-git-9c16284758f748733fc47e1c309e5d381081e8d2.tar.gz
BUG#12611785 - AUDIT INTERFACE STRICT-ALIASING WARNINGS
The types mysql_event_general/mysql_event_connection are being cast to the incompatible type mysql_event. The way mysql_event and the other types are designed are prone to strict aliasing violations and can break things depending on how compilers optimizes this code. This patch fixes audit interface, so it confirms to strict- aliasing rules. It introduces incompatible changes to audit interface: - mysql_event type has been removed; - event_class has been removed from mysql_event_generic and mysql_event_connection types; - st_mysql_audit::event_notify() second argument is event_class; - st_mysql_audit::event_notify() third argument is event of type (const void *). "Writing Audit Plugins" section of manual should be updated: http://dev.mysql.com/doc/refman/5.5/en/writing-audit-plugins.html
Diffstat (limited to 'storage/heap')
0 files changed, 0 insertions, 0 deletions