mirror of
https://github.com/typesense/typesense.git
synced 2025-05-16 03:12:32 +08:00
Bug fix: Wrong order of arguments when recursing.
This commit is contained in:
parent
0ba5c4874f
commit
71a9c2709b
@ -1038,7 +1038,7 @@ int art_iter_prefix(art_tree *t, const unsigned char *key, int key_len, art_call
|
||||
}\
|
||||
} else if(row_min <= max_cost) {\
|
||||
int new_depth = (child_char != 0) ? depth+1 : depth;\
|
||||
art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, new_depth, max_words, new_current_row, results);\
|
||||
art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, max_words, new_depth, new_current_row, results);\
|
||||
}\
|
||||
}\
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user