[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] add inheriting connect_string

Back to archive index

Kentoku null+****@clear*****
Thu Oct 4 10:47:24 JST 2012


Kentoku	2011-09-02 10:39:03 +0900 (Fri, 02 Sep 2011)

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

  Log:
    add inheriting connect_string

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+5 -0)
===================================================================
--- ha_mroonga.cc    2011-09-02 02:43:23 +0900 (2cd79c7)
+++ ha_mroonga.cc    2011-09-02 10:39:03 +0900 (0896106)
@@ -5609,6 +5609,11 @@ void ha_mroonga::storage_update_create_info(HA_CREATE_INFO* create_info)
 void ha_mroonga::update_create_info(HA_CREATE_INFO* create_info)
 {
   MRN_DBUG_ENTER_METHOD();
+  if (!create_info->connect_string.str)
+  {
+    create_info->connect_string.str = table->s->connect_string.str;
+    create_info->connect_string.length = table->s->connect_string.length;
+  }
   if (share->wrapper_mode)
     wrapper_update_create_info(create_info);
   else
-------------- next part --------------
HTML����������������������������...
Download 



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