[Groonga-mysql-commit] mroonga/mroonga at d06db5a [master] Don't use thd->lex->type, and SQLCOM_FLUSH in handler.close() means only "FLASH TABLE". refs #1964

Back to archive index

shibakentoku null+****@clear*****
Fri Nov 22 02:47:49 JST 2013


shibakentoku	2013-11-22 02:47:49 +0900 (Fri, 22 Nov 2013)

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

  Message:
    Don't use thd->lex->type, and SQLCOM_FLUSH in handler.close() means only "FLASH TABLE". refs #1964

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -3)
===================================================================
--- ha_mroonga.cpp    2013-11-22 02:43:39 +0900 (302f97e)
+++ ha_mroonga.cpp    2013-11-22 02:47:49 +0900 (65532cc)
@@ -4369,9 +4369,7 @@ int ha_mroonga::close()
   is_clone = false;
   if (
     thd &&
-    thd->lex &&
-    thd_sql_command(thd) == SQLCOM_FLUSH &&
-    (thd->lex->type & REFRESH_TABLES)
+    thd_sql_command(thd) == SQLCOM_FLUSH
   ) {
     /* flush tables */
     mrn::Lock lock(&mrn_open_tables_mutex);
-------------- next part --------------
HTML����������������������������...
Download 



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