public function error() { $this->error = mysql_errno() . ':' . mysql_error($this->_linkID); if ('' != $this->queryStr) { $this->error .= "\n [ SQL语句 ] : " . $this->queryStr; } trace($this->error, '', 'ERR'); return $this->error; }