[Groonga-mysql-commit] mroonga/mroonga at a145ebb [master] Must use thd_sql_command() instead of thd->lex->sql_command. refs #1964

Back to archive index

shibakentoku null+****@clear*****
Thu Nov 21 01:53:33 JST 2013


shibakentoku	2013-11-21 01:53:33 +0900 (Thu, 21 Nov 2013)

  New Revision: a145ebbb406e0cce374d024a50651c96a2bfffc8
  https://github.com/mroonga/mroonga/commit/a145ebbb406e0cce374d024a50651c96a2bfffc8

  Message:
    Must use thd_sql_command() instead of thd->lex->sql_command. refs #1964

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-11-21 01:52:05 +0900 (7afe925)
+++ ha_mroonga.cpp    2013-11-21 01:53:33 +0900 (93cdefa)
@@ -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 */
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index