diff options
author | Eric Wong <e@yhbt.net> | 2020-08-10 02:11:57 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-10 05:56:04 +0000 |
commit | 6f9a86728b98887ae0d76234afb2679b6f6dd4ae (patch) | |
tree | f60e4b1d0fbb33cd21baff7f865e359b0b653bf4 /script/public-inbox-init | |
parent | e3944dfcfb3c0d8964d7cd458a9f14bbf503d00f (diff) | |
download | public-inbox-6f9a86728b98887ae0d76234afb2679b6f6dd4ae.tar.gz |
Trying to use the newer ->sqlite_backup_to_dbh method doesn't seem worth it, as we'll have to support DBD::SQLite <= 1.60 another decade or more. Dumping 'msgmap-XXXXXXX' into $INBOX_DIR can appear a bit confusing to users, so give it a "mm_tmp-$PID-XXXXXXXX" name to emphasize it's a temporary file tied to a given PID. We also don't want to penalize read-only daemons with loading File::Temp, so do it lazily.
Diffstat (limited to 'script/public-inbox-init')
0 files changed, 0 insertions, 0 deletions