Show From/Subject headers from messages with bad Dates.
This commit is contained in:
parent
9bcfb1bf21
commit
4063b48df7
@ -12,13 +12,19 @@
|
|||||||
the missing hashes. Maybe we can parse dates from there.
|
the missing hashes. Maybe we can parse dates from there.
|
||||||
*/
|
*/
|
||||||
SELECT
|
SELECT
|
||||||
l.hash, r.value
|
h.hash,
|
||||||
|
h.name,
|
||||||
|
substring(h.value, 0, 40)
|
||||||
|
FROM
|
||||||
|
header h
|
||||||
|
INNER JOIN (
|
||||||
|
SELECT
|
||||||
|
l.hash
|
||||||
FROM
|
FROM
|
||||||
original l
|
original l
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT
|
SELECT
|
||||||
hash,
|
hash
|
||||||
value
|
|
||||||
FROM
|
FROM
|
||||||
search_header
|
search_header
|
||||||
WHERE
|
WHERE
|
||||||
@ -28,4 +34,12 @@ ON
|
|||||||
r.hash = l.hash
|
r.hash = l.hash
|
||||||
WHERE
|
WHERE
|
||||||
r.hash IS NULL
|
r.hash IS NULL
|
||||||
|
) missing
|
||||||
|
ON
|
||||||
|
missing.hash = h.hash
|
||||||
|
WHERE
|
||||||
|
-- name IN ('Subject', 'Received', 'Date')
|
||||||
|
name IN ('From', 'Subject')
|
||||||
|
ORDER BY
|
||||||
|
h.value
|
||||||
;
|
;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user