--- db/prgsrc/eq/Attic/dbchgk.pm 2001/05/18 02:14:01 1.4 +++ db/prgsrc/eq/Attic/dbchgk.pm 2001/05/18 03:02:01 1.5 @@ -73,7 +73,7 @@ sub in2out $z= $qbase -> prepare ( "select t2.Id, t2.Number, t3.FileName - from Questions AS t1, tournaments AS t2 , tournaments AS t3 + from Questions AS t1, Tournaments AS t2 , Tournaments AS t3 where (t1.QuestionId = $qid) && (t1.ParentId = t2.Id) && (t2.ParentId = t3.Id) "); $z -> execute; @@ -103,7 +103,7 @@ sub out2in $z= $qbase -> prepare ( "select q.QuestionId from Questions as q, - tournaments as t1, tournaments as t2 + Tournaments as t1, Tournaments as t2 where (t2.FileName= \"$q[0]\") && (t1.ParentId = t2.Id) && (q.ParentId = t1.Id) &&