[Groonga-mysql-commit] mroonga/mroonga at 1c8e297 [master] mysql8: use mrn_get_new_handler() in rename_table

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 9 15:11:36 JST 2018


Kouhei Sutou	2018-07-09 15:11:36 +0900 (Mon, 09 Jul 2018)

  New Revision: 1c8e297e275bb75103948754490d76905bcb8274
  https://github.com/mroonga/mroonga/commit/1c8e297e275bb75103948754490d76905bcb8274

  Message:
    mysql8: use mrn_get_new_handler() in rename_table

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+4 -3)
===================================================================
--- ha_mroonga.cpp    2018-07-09 15:09:52 +0900 (0cd92fad)
+++ ha_mroonga.cpp    2018-07-09 15:11:36 +0900 (2fc46e29)
@@ -14006,9 +14006,10 @@ int ha_mroonga::wrapper_rename_table(const char *from, const char *to,
   handler *hnd;
   MRN_DBUG_ENTER_METHOD();
 
-  hnd = get_new_handler(tmp_share->table_share,
-                        current_thd->mem_root,
-                        tmp_share->hton);
+  hnd = mrn_get_new_handler(tmp_share->table_share,
+                            from_table_def->partition_type() != dd::Table::PT_NONE,
+                            current_thd->mem_root,
+                            tmp_share->hton);
   if (!hnd)
   {
     DBUG_RETURN(HA_ERR_OUT_OF_MEM);
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180709/a31a1595/attachment.htm 



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