| #477 | $s = 'MySQL Query Error: <b>'.$sql.'</b>. '.mysql_error(); |
| #478 | |
| #479 | if(defined('DEBUG') && !DEBUG) $s = str_replace($this->tablepre, '***', $s); // 防止泄露敏感信息 |
| #480 | |
| #481 | throw new Exception($s); |
| #482 | } |
| #483 | $_ENV['_sqlnum']++; |
| #484 | return $result; |
| #485 | } |
| #486 |