You've already forked mysql-audit
mirror of
https://github.com/trellix-enterprise/mysql-audit.git
synced 2025-12-17 18:24:02 +08:00
Fix for bug found with vio. Where mysql 5.1 ndb cluster uses a different struct from mysql 5.1.
This commit is contained in:
7
include/audit_handler.h
Executable file → Normal file
7
include/audit_handler.h
Executable file → Normal file
@@ -432,13 +432,14 @@ protected:
|
||||
*/
|
||||
virtual void handler_log_audit(ThdSesData *pThdData);
|
||||
//Vio we write to
|
||||
Vio * m_vio;
|
||||
//define as void* so we don't access members directly
|
||||
void * m_vio;
|
||||
void close_vio()
|
||||
{
|
||||
if (m_vio)
|
||||
{
|
||||
vio_close(m_vio);
|
||||
vio_delete(m_vio);
|
||||
vio_close((Vio*)m_vio);
|
||||
vio_delete((Vio*)m_vio);
|
||||
}
|
||||
m_vio = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user