From: Marius Gavrilescu Date: Mon, 30 Mar 2015 14:41:37 +0000 (+0300) Subject: Remove commented out procedure in db.sql X-Git-Tag: 5999.000_014~41 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=eeed37371c59015eb9ba3aa1194dea913762f727;p=gruntmaster-data.git Remove commented out procedure in db.sql --- diff --git a/db.sql b/db.sql index 107fa71..9343d0b 100644 --- a/db.sql +++ b/db.sql @@ -205,18 +205,3 @@ CREATE OR REPLACE VIEW job_entry AS (SELECT LENGTH(source) AS size FROM jobs ORDER BY id DESC); - --- CREATE OR REPLACE FUCNTION source_private(jobid INT) RETURNS BOOLEAN AS $$ --- BEGIN --- private BOOLEAN; --- problem TEXT; --- contest TEXT; - --- SELECT private, problem, contest INTO STRICT private, problem, contest FROM jobs WHERE id = jobid; --- IF private THEN --- RETURN TRUE; --- END IF - --- IF --- END; --- $$