diff options
author | Eric Wong <e@yhbt.net> | 2020-08-22 06:06:25 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-23 00:14:02 +0000 |
commit | ae546078c5696ac73ad9f48c2c90163febb4a246 (patch) | |
tree | b586532c89848510eee9782aeafb2d007c8f9805 /lib/PublicInbox/Over.pm | |
parent | f11e8e72fd42d3d8cbcf5207641d10470a92dcee (diff) | |
download | public-inbox-ae546078c5696ac73ad9f48c2c90163febb4a246.tar.gz |
This is the `tid' column from over.sqlite3; and will be used for IMAP and JMAP search (among other things).
Diffstat (limited to 'lib/PublicInbox/Over.pm')
-rw-r--r-- | lib/PublicInbox/Over.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Over.pm b/lib/PublicInbox/Over.pm index a055b4cd..34d0b05d 100644 --- a/lib/PublicInbox/Over.pm +++ b/lib/PublicInbox/Over.pm @@ -213,7 +213,7 @@ sub get_art { my ($self, $num) = @_; # caching $sth ourselves is faster than prepare_cached my $sth = $self->{-get_art} //= $self->connect->prepare(<<''); -SELECT num,ds,ts,ddd FROM over WHERE num = ? LIMIT 1 +SELECT num,tid,ds,ts,ddd FROM over WHERE num = ? LIMIT 1 $sth->execute($num); my $smsg = $sth->fetchrow_hashref; |