[Groonga-commit] ranguba/rroonga at e3eb224 [master] Add a missing error check

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jun 10 14:15:05 JST 2015


Kouhei Sutou	2015-06-10 14:15:05 +0900 (Wed, 10 Jun 2015)

  New Revision: e3eb224fb58652326890e01ba164dc3759074873
  https://github.com/ranguba/rroonga/commit/e3eb224fb58652326890e01ba164dc3759074873

  Message:
    Add a missing error check

  Modified files:
    ext/groonga/rb-grn-table.c

  Modified: ext/groonga/rb-grn-table.c (+1 -0)
===================================================================
--- ext/groonga/rb-grn-table.c    2015-06-08 11:40:11 +0900 (ff17ec4)
+++ ext/groonga/rb-grn-table.c    2015-06-10 14:15:05 +0900 (f03caf5)
@@ -611,6 +611,7 @@ rb_grn_table_get_columns (int argc, VALUE *argv, VALUE self)
 
     columns = grn_table_create(context, NULL, 0, NULL, GRN_TABLE_HASH_KEY,
                                NULL, 0);
+    rb_grn_context_check(context, self);
     n = grn_table_columns(context, table, name, name_size, columns);
     rb_grn_context_check(context, self);
 
-------------- next part --------------
HTML����������������������������...
Descargar 



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