Commit 27565ba8 authored by Leo Gordon's avatar Leo Gordon
Browse files

hopefully will fix the "was not locked with LOCK TABLES" error message

parent 61452aae
......@@ -40,7 +40,7 @@ sub register_message {
# (the timestamp 'time' column will be set automatically)
my $sql = qq{
REPLACE INTO $table_name (job_id, worker_id, retry, status, msg, is_error)
INSERT INTO $table_name (job_id, worker_id, retry, status, msg, is_error)
SELECT job_id, worker_id, retry_count, status, ?, ?
FROM job WHERE job_id=?
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment