git-svn-id: http://xe-core.googlecode.com/svn/trunk@1850 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-07-03 13:10:40 +00:00
parent a0526f8485
commit bc3fba33b2
231 changed files with 2671 additions and 2132 deletions

View file

@ -136,6 +136,17 @@
if($this->isError()) {
$str .= sprintf("\t Query Failed : %d\n\t\t\t %s\n", $this->errno, $this->errstr);
if(__DEBUG_DB_OUTPUT==1) {
$debug_file = "./files/_debug_db_query.php";
$buff = sprintf("%s\n",print_r($buff,true));
if($display_line) $buff = "\n====================================\n".$buff."------------------------------------\n";
if(@!$fp = fopen($debug_file,"a")) return;
fwrite($fp, $buff);
fclose($fp);
}
} else {
$str .= "\t Query Success\n";
}