[Groonga-commit] groonga/groonga [master] don't care GRN_CURSOR_RK order.

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2010年 8月 18日 (水) 10:14:10 JST


Kouhei Sutou	2010-08-18 01:14:10 +0000 (Wed, 18 Aug 2010)

  New Revision: 86acba5ecf2e0e749033bb4f8af2666df849257c

  Log:
    don't care GRN_CURSOR_RK order.

  Modified files:
    test/unit/core/test-table-patricia-trie-cursor.c

  Modified: test/unit/core/test-table-patricia-trie-cursor.c (+1 -0)
===================================================================
--- test/unit/core/test-table-patricia-trie-cursor.c    2010-08-18 00:37:36 +0000 (517a38b)
+++ test/unit/core/test-table-patricia-trie-cursor.c    2010-08-18 01:14:10 +0000 (bcdf727)
@@ -752,6 +752,7 @@ test_prefix_rk(gpointer data)
     key_size = grn_table_cursor_get_key(context, cursor, (void **)&key);
     actual_keys = g_list_append(actual_keys, g_strndup(key, key_size));
   }
+  actual_keys = g_list_sort(actual_keys, (GCompareFunc)strcmp);
   gcut_take_list(actual_keys, g_free);
 
   expected_keys = gcut_data_get_pointer(data, "expected");




Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index