nostrdb: print search keys to stdout
otherwise it's way too annoying to grep Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
ddd30054e8
commit
0c483bb55a
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
static void ndb_print_text_search_key(struct ndb_text_search_key *key)
|
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->word_index,
|
||||||
key->timestamp,
|
key->timestamp,
|
||||||
key->note_id);
|
key->note_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user