[Groonga-mysql-commit] mroonga/mroonga at 1138c0e [master] mysql8: use mrn_get_new_handler() in clone

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 9 15:22:45 JST 2018


Kouhei Sutou	2018-07-09 15:22:45 +0900 (Mon, 09 Jul 2018)

  New Revision: 1138c0e81b493805ef55862287809e77e53387d1
  https://github.com/mroonga/mroonga/commit/1138c0e81b493805ef55862287809e77e53387d1

  Message:
    mysql8: use mrn_get_new_handler() in clone

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+4 -2)
===================================================================
--- ha_mroonga.cpp    2018-07-09 15:22:32 +0900 (8c0b8491)
+++ ha_mroonga.cpp    2018-07-09 15:22:45 +0900 (3a141478)
@@ -12993,8 +12993,10 @@ handler *ha_mroonga::wrapper_clone(const char *name, MEM_ROOT *mem_root)
 {
   handler *cloned_handler;
   MRN_DBUG_ENTER_METHOD();
-  if (!(cloned_handler = get_new_handler(table->s, mem_root,
-                                         table->s->db_type())))
+  if (!(cloned_handler = mrn_get_new_handler(table->s,
+                                             table->s->m_part_info != NULL,
+                                             mem_root,
+                                             table->s->db_type())))
     DBUG_RETURN(NULL);
   ((ha_mroonga *) cloned_handler)->is_clone = true;
   ((ha_mroonga *) cloned_handler)->parent_for_clone = this;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180709/770fdcce/attachment-0001.htm 



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