* [PATCH 0/5] some minor SQLite-related cleanups
@ 2020-08-26 8:17 7% Eric Wong
2020-08-26 8:17 7% ` [PATCH 5/5] msgmap: use v5.10.1 Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-08-26 8:17 UTC (permalink / raw)
To: meta
Dropping some expensive dead code and avoiding some overloaded
method names to reduce confusion.
Eric Wong (5):
over: rename ->connect method to ->dbh
over: rename ->disconnect to ->dbh_close
over: recent: remove expensive COUNT query
over*: use v5.10.1, drop warnings
msgmap: use v5.10.1
lib/PublicInbox/Inbox.pm | 2 +-
lib/PublicInbox/Msgmap.pm | 3 ++-
lib/PublicInbox/Over.pm | 33 +++++++++++++--------------------
lib/PublicInbox/OverIdx.pm | 15 +++++++--------
lib/PublicInbox/V2Writable.pm | 4 ++--
lib/PublicInbox/Xapcmd.pm | 2 +-
scripts/dupe-finder | 2 +-
t/indexlevels-mirror.t | 29 +++++++++++++++--------------
t/over.t | 11 +++++------
t/search-thr-index.t | 4 ++--
t/v1reindex.t | 2 +-
t/v2reindex.t | 2 +-
t/v2writable.t | 4 +++-
t/watch_maildir_v2.t | 30 +++++++++++++++---------------
14 files changed, 69 insertions(+), 74 deletions(-)
^ permalink raw reply [relevance 7%]
* [PATCH 5/5] msgmap: use v5.10.1
2020-08-26 8:17 7% [PATCH 0/5] some minor SQLite-related cleanups Eric Wong
@ 2020-08-26 8:17 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-08-26 8:17 UTC (permalink / raw)
To: meta
We use the defined-or (`//', `//=') operators in 5.10,
so require 5.10.1 like the rest of our codebase. Update
an outdated comment while we're at it.
---
lib/PublicInbox/Msgmap.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/PublicInbox/Msgmap.pm b/lib/PublicInbox/Msgmap.pm
index d28e96c8..d696ce83 100644
--- a/lib/PublicInbox/Msgmap.pm
+++ b/lib/PublicInbox/Msgmap.pm
@@ -6,9 +6,10 @@
# numbers for NNTP and allows prefix lookups for partial Message-IDs
# in case URLs get truncated from copy-n-paste errors by users.
#
-# This is maintained by ::SearchIdx
+# This is maintained by ::SearchIdx (v1) and ::V2Writable (v2)
package PublicInbox::Msgmap;
use strict;
+use v5.10.1;
use DBI;
use DBD::SQLite;
use PublicInbox::Over;
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-08-26 8:17 7% [PATCH 0/5] some minor SQLite-related cleanups Eric Wong
2020-08-26 8:17 7% ` [PATCH 5/5] msgmap: use v5.10.1 Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).