Description
This query:
SELECT f.repository_id, f.blob_hash, f.commit_hash, f.file_path
FROM commit_files f
INNER JOIN (
SELECT blob_hash, repository_id
FROM blobs
WHERE NOT IS_BINARY(blob_content) AND (
blob_content REGEXP '(?i)facebook.*[\'\\"][0-9a-f]{32}[\'\\"]'
OR blob_content REGEXP '(?i)twitter.*[\'\\"][0-9a-zA-Z]{35,44}[\'\\"]'
OR blob_content REGEXP '(?i)github.*[\'\\"][0-9a-zA-Z]{35,40}[\'\\"]'
OR blob_content REGEXP 'AKIA[0-9A-Z]{16}'
OR blob_content REGEXP '(?i)heroku.*[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}'
OR blob_content REGEXP '.*-----BEGIN ((RSA|DSA|OPENSSH|SSH2|EC) )?PRIVATE KEY-----.*'
)
) h
ON h.blob_hash = f.blob_hash AND h.repository_id = f.repository_id
WHERE f.file_path NOT LIKE '^vendor.*'
Returns unknown error: context canceled
and no more information about it.