File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,22 @@ struct _grn_hash_header_large {
299
299
grn_id garbages [GRN_HASH_MAX_KEY_SIZE_LARGE ];
300
300
};
301
301
302
+ struct _grn_hash_cursor_sorted_entry {
303
+ char * key ;
304
+ uint32_t key_size ;
305
+ grn_id rid ;
306
+ };
307
+
308
+ typedef struct _grn_hash_cursor_sorted_entry grn_hash_cursor_sorted_entry ;
309
+
310
+ struct _grn_hash_cursor_sorted_entires {
311
+ grn_hash_cursor_sorted_entry * sorted_entries ;
312
+ uint32_t n_entries ;
313
+ uint32_t curr_idx ;
314
+ };
315
+
316
+ typedef struct _grn_hash_cursor_sorted_entires grn_hash_cursor_sorted_entires ;
317
+
302
318
struct _grn_hash_cursor {
303
319
grn_db_obj obj ;
304
320
grn_hash * hash ;
@@ -307,6 +323,7 @@ struct _grn_hash_cursor {
307
323
grn_id tail ;
308
324
unsigned int rest ;
309
325
int dir ;
326
+ grn_hash_cursor_sorted_entires * sorted_entries ;
310
327
};
311
328
312
329
/* deprecated */
You can’t perform that action at this time.
0 commit comments