Diff for /db/prgsrc/eq/Attic/dbchgk.pm between versions 1.4 and 1.5

version 1.4, 2001/05/18 02:14:01 version 1.5, 2001/05/18 03:02:01
Line 73  sub in2out Line 73  sub in2out
   
   
    $z=  $qbase -> prepare ( "select t2.Id, t2.Number, t3.FileName      $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) ");                  where (t1.QuestionId = $qid)  && (t1.ParentId = t2.Id) && (t2.ParentId = t3.Id) ");
   
    $z -> execute;     $z -> execute;
Line 103  sub out2in Line 103  sub out2in
   
   
    $z=  $qbase -> prepare ( "select q.QuestionId  from Questions as q,      $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]\")  &&                   where (t2.FileName= \"$q[0]\")  && 
                       (t1.ParentId = t2.Id) &&                         (t1.ParentId = t2.Id) && 
                       (q.ParentId = t1.Id)  &&                         (q.ParentId = t1.Id)  && 

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>