From: Simon H. <sim...@us...> - 2010-11-12 10:11:15
|
Update of /cvsroot/stack/stack-dev/lib/database In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8281/lib/database Modified Files: MoodleDB.php Log Message: Towards 'hot' updates of questions in Moodle. Index: MoodleDB.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/database/MoodleDB.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** MoodleDB.php 1 Nov 2010 18:18:29 -0000 1.16 --- MoodleDB.php 12 Nov 2010 10:11:06 -0000 1.17 *************** *** 757,764 **** $result = $this->query($sql); $n = $this->noRows(); //return $n; //return $this->noRows(); if($this->noRows() === false) return "noRows() === false for $sql"; ! else return "$this->noRows() attempt states for this question"; } } --- 757,765 ---- $result = $this->query($sql); $n = $this->noRows(); + //return $sql.$this->getErrors(); //return $n; //return $this->noRows(); if($this->noRows() === false) return "noRows() === false for $sql"; ! else return $this->noRows()." attempt states for this question"; } } |