comment about interface change

pull/86/head
Guy Lichtman 2014-01-29 17:53:16 +02:00
parent 73876cf8f9
commit 694d901a45
1 changed files with 1 additions and 4 deletions

View File

@ -184,6 +184,7 @@ public:
if(!Audit_formatter::thd_offsets.sec_ctx_ip) //check ip to understand if set as host is first and may actually be set to 0 if(!Audit_formatter::thd_offsets.sec_ctx_ip) //check ip to understand if set as host is first and may actually be set to 0
{ {
//interface changed in 5.5.34 and 5.6.14 and up host changed to get_host() //interface changed in 5.5.34 and 5.6.14 and up host changed to get_host()
//see: http://bazaar.launchpad.net/~mysql/mysql-server/5.5/revision/4407.1.1/sql/sql_class.h
#if (MYSQL_VERSION_ID >= 50534 && MYSQL_VERSION_ID < 50600) || (MYSQL_VERSION_ID >= 50614) #if (MYSQL_VERSION_ID >= 50534 && MYSQL_VERSION_ID < 50600) || (MYSQL_VERSION_ID >= 50614)
return sctx->get_host()->ptr(); return sctx->get_host()->ptr();
#else #else
@ -540,9 +541,5 @@ protected:
}; };
#endif /* AUDIT_HANDLER_H_ */ #endif /* AUDIT_HANDLER_H_ */