]> Sergey Matveev's repositories - public-inbox.git/commitdiff
searchidx: fix comment around next_thread_id
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 14 Feb 2018 08:20:38 +0000 (08:20 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Wed, 14 Feb 2018 08:20:38 +0000 (08:20 +0000)
I decided not to copy the notmuch implementation regarding
serialization of integers to Xapian metadata.

lib/PublicInbox/SearchIdx.pm

index 0ee077910c8b0d6f0ff7837d69250daf18e86037..fa5057fd6851b5f668ead4b84b5b0ff46f8c0325 100644 (file)
@@ -394,7 +394,7 @@ sub term_generator { # write-only
 }
 
 # increments last_thread_id counter
-# returns a 64-bit integer represented as a hex string
+# returns a 64-bit integer represented as a decimal string
 sub next_thread_id {
        my ($self) = @_;
        my $db = $self->{xdb};