[Groonga-mysql-commit] mroonga/mroonga at cd8bd89 [master] Specify GRN_OBJ_COLUMN_SCALAR explicitly

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Dec 24 02:10:35 JST 2017


Kouhei Sutou	2017-12-24 02:10:35 +0900 (Sun, 24 Dec 2017)

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

  Message:
    Specify GRN_OBJ_COLUMN_SCALAR explicitly

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2017-12-24 02:10:24 +0900 (7baa0a3b)
+++ ha_mroonga.cpp    2017-12-24 02:10:35 +0900 (40e14414)
@@ -3908,7 +3908,7 @@ bool ha_mroonga::storage_create_foreign_key(TABLE *table,
     mrn_open_mutex_lock(table->s);
     mrn_free_tmp_table_share(tmp_ref_table_share);
     mrn_open_mutex_unlock(table->s);
-    grn_obj_flags col_flags = GRN_OBJ_PERSISTENT;
+    grn_column_flags col_flags = GRN_OBJ_COLUMN_SCALAR | GRN_OBJ_PERSISTENT;
     column = grn_column_create(ctx, table_obj,
                                FIELD_NAME(field),
                                NULL, col_flags, grn_table_ref);
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20171224/0c2e18f2/attachment.htm 



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