From 1d6eb61b69591639760b41ccf12163e5b3c0021f Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 8 Jul 2023 17:48:07 -0600 Subject: [PATCH] Fix: SELECT WHERE syntax --- projects/tentacles/src/python/tentacles/sql/jobs.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/tentacles/src/python/tentacles/sql/jobs.sql b/projects/tentacles/src/python/tentacles/sql/jobs.sql index 7c9ef2b..e14ad63 100644 --- a/projects/tentacles/src/python/tentacles/sql/jobs.sql +++ b/projects/tentacles/src/python/tentacles/sql/jobs.sql @@ -58,12 +58,12 @@ WHERE -- name: list-jobs-by-file SELECT - * + finished_at , (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status` FROM jobs WHERE file_id = :fid - , uid = :uid + AND uid = :uid ; -- name: list-job-queue