Now one can call thd->sql_command_flags() instead of sql_command_flags[thd->lex->sql_command].
Attach a file by drag & drop or click to upload