[Groonga-mysql-commit] mroonga/mroonga at fe60d1a [master] add checking database directory for checking temporary table. refs #1964

Back to archive index

shibakentoku null+****@clear*****
Mon Dec 30 20:57:01 JST 2013


shibakentoku	2013-12-30 20:57:01 +0900 (Mon, 30 Dec 2013)

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

  Message:
    add checking database directory for checking temporary table. refs #1964

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -1)
===================================================================
--- ha_mroonga.cpp    2013-12-30 20:55:29 +0900 (f848db2)
+++ ha_mroonga.cpp    2013-12-30 20:57:01 +0900 (a1ff031)
@@ -8523,7 +8523,8 @@ bool ha_mroonga::is_temporary_table_name(const char *name) const
     int len = strlen(name);
     int mysql_data_home_len = strlen(mysql_data_home);
     if (len < mysql_data_home_len ||
-      strncmp(name, mysql_data_home, mysql_data_home_len)) {
+      strncmp(name, mysql_data_home, mysql_data_home_len) ||
+      !strrchr(&name[mysql_data_home_len], FN_LIBCHAR)) {
       temporary_table_name_p = TRUE;
     }
   }
-------------- next part --------------
HTML����������������������������...
Download 



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