| #627 | $s = 'MySQL Query Error: <b>'.$sql.'</b>. '.mysqli_error($link); |
| #628 | |
| #629 | if(defined('DEBUG') && !DEBUG) $s = str_replace($this->tablepre, '***', $s); // 防止泄露敏感信息 |
| #630 | |
| #631 | throw new Exception($s); |
| #632 | } |
| #633 | $_ENV['_sqlnum']++; |
| #634 | return $result; |
| #635 | } |
| #636 |