]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_mail_sync: mv_src: use transaction, check UNIQUE
authorEric Wong <e@80x24.org>
Thu, 21 Oct 2021 21:10:31 +0000 (21:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 22 Oct 2021 00:54:50 +0000 (00:54 +0000)
We need a transaction across two SQL statements so readers
(which don't use flock) will see the result as atomic.

This may help against some occasional test failures I'm seeing
from t/lei-auto-watch.t and t/lei-watch.t, or make the problem
more apparent.


No differences found