Skip to content

Commit

Permalink
print search keys to stdout
Browse files Browse the repository at this point in the history
otherwise it's way too annoying to grep

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Aug 31, 2024
1 parent da79a2b commit f938941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/print_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

static void ndb_print_text_search_key(struct ndb_text_search_key *key)
{
fprintf(stderr,"K<'%.*s' %" PRIu64 " %" PRIu64 " note_id:%" PRIu64 ">", key->str_len, key->str,
printf("K<'%.*s' %" PRIu64 " %" PRIu64 " note_id:%" PRIu64 ">", (int)key->str_len, key->str,
key->word_index,
key->timestamp,
key->note_id);
Expand Down

0 comments on commit f938941

Please sign in to comment.