// 调试结束$this->debug(false);$this->numRows = $this->PDOStatement->rowCount();return $this->numRows;} catch (\PDOException $e) {if ($this->isBreak($e)) {return $this->close()->execute($sql, $bind);}throw new PDOException($e, $this->config, $this->getLastsql());} catch (\ErrorException $e) {if ($this->isBreak($e)) {return $this->close()->execute($sql, $bind);}throw $e;}}/**
| SQLSTATE | HY000 |
| Driver Error Code | 1364 |
| Driver Error Message | Field 'ip' doesn't have a default value |
| Error Code | 10501 |
| Error Message | SQLSTATE[HY000]: General error: 1364 Field 'ip' doesn't have a default value |
| Error SQL | INSERT INTO `zm_page_visit` (`session_id` , `page` , `visit_time`) VALUES ('00b62ab861634e31008fce15a310d491' , '/m/gongyeshebei/410.html' , '2026-02-19 16:06:16') |
| type | mysql |
| hostname | localhost |
| database | cs_hirays_com |
| username | cs_hirays_com |
| password | 3k8FCB4EGt8WHD8B |
| hostport | 3306 |
| dsn | |
| params | [] |
| charset | utf8 |
| prefix | zm_ |
| debug | 0 |
| deploy | 0 |
| rw_separate | |
| master_num | 1 |
| slave_no | |
| fields_strict | 1 |
| result_type | 2 |
| resultset_type | array |
| auto_timestamp | |
| datetime_format | Y-m-d H:i:s |
| sql_explain | |
| builder | |
| query | \think\db\Query |
| break_reconnect | false |