[Groonga-mysql-commit] mroonga/mroonga at f5bb101 [master] Fix wrong deleting column_name_size. Sorry.

Back to archive index

shibakentoku null+****@clear*****
Fri Nov 22 04:56:44 JST 2013


shibakentoku	2013-11-22 04:56:44 +0900 (Fri, 22 Nov 2013)

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

  Message:
    Fix wrong deleting column_name_size. Sorry.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -0)
===================================================================
--- ha_mroonga.cpp    2013-11-22 04:06:48 +0900 (a438f02)
+++ ha_mroonga.cpp    2013-11-22 04:56:44 +0900 (9635966)
@@ -3417,6 +3417,7 @@ int ha_mroonga::storage_create_index(TABLE *table, const char *grn_table_name,
   if (!is_multiple_column_index) {
     Field *field = key_info->key_part[0].field;
     column_name = field->field_name;
+    column_name_size = strlen(column_name);
     if (strcmp(MRN_COLUMN_NAME_ID, column_name) == 0) {
       // skipping _id virtual column
       DBUG_RETURN(0);
-------------- next part --------------
HTML����������������������������...
下載 



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