Merge backport of WL#3771 with mysql-next-mr.

This commit is contained in:
Sergey Vojtovich 2010-01-19 17:30:55 +04:00
commit 667b5944a7
25 changed files with 1220 additions and 272 deletions

View file

@ -19,6 +19,7 @@
*/
#include "mysql_priv.h"
#include "sql_audit.h"
#include "probes_mysql.h"
#ifdef HAVE_OPENSSL
@ -1169,6 +1170,7 @@ void do_handle_one_connection(THD *thd_arg)
while (!net->error && net->vio != 0 &&
!(thd->killed == THD::KILL_CONNECTION))
{
mysql_audit_release(thd);
if (do_command(thd))
break;
}