Navigation Menu

Skip to content

Commit

Permalink
Must use thd_sql_command() instead of thd->lex->sql_command. refs #1964
Browse files Browse the repository at this point in the history
  • Loading branch information
shibakentoku committed Nov 20, 2013
1 parent 4f0ddcd commit a145ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -4370,7 +4370,7 @@ int ha_mroonga::close()
if (
thd &&
thd->lex &&
thd->lex->sql_command == SQLCOM_FLUSH &&
thd_sql_command(thd) == SQLCOM_FLUSH &&
(thd->lex->type & REFRESH_TABLES)
) {
/* flush tables */
Expand Down

0 comments on commit a145ebb

Please sign in to comment.