]> iEval git - gruntmaster-data.git/commitdiff
Remove commented out procedure in db.sql
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 30 Mar 2015 14:41:37 +0000 (17:41 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 30 Mar 2015 14:41:37 +0000 (17:41 +0300)
db.sql

diff --git a/db.sql b/db.sql
index 107fa7195adf0426a8d3c9cfd2001163272ac395..9343d0b82b7235b0f90b72913e50d9c0d49d0f76 100644 (file)
--- 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);
        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;
--- $$
This page took 0.028464 seconds and 4 git commands to generate.