Treat Quit command as an empty object set. Issue #26.
parent
af0a366267
commit
8d85b09b72
|
@ -645,7 +645,7 @@ static void audit(ThdSesData *pThdData)
|
||||||
LEX *pLex = Audit_formatter::thd_lex(pThdData->getTHD());
|
LEX *pLex = Audit_formatter::thd_lex(pThdData->getTHD());
|
||||||
TABLE_LIST * table = pLex->query_tables;
|
TABLE_LIST * table = pLex->query_tables;
|
||||||
int matched = 0;
|
int matched = 0;
|
||||||
if(!table) //empty list of objects
|
if(strcmp(pThdData->getCmdName(),"Quit") == 0 || !table) //empty list of objects
|
||||||
{
|
{
|
||||||
matched = record_empty_objs_set;
|
matched = record_empty_objs_set;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue