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:
Guy Lichtman
2012-10-04 10:18:18 +02:00
parent e38bc05f0f
commit dac2dfc2a3
6 changed files with 1167 additions and 1160 deletions

7
include/audit_handler.h Executable file → Normal file
View 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;
}