$this->numRows = $this->PDOStatement->rowCount();
return $this->numRows;
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->execute($sql, $bind, $query);
SQLSTATE | 42000 |
Driver Error Code | 1142 |
Driver Error Message | UPDATE command denied to user 'aijiying'@'127.0.0.1' for table 'm_jobs' |
Error Code | 10501 |
Error Message | SQLSTATE[42000]: Syntax error or access violation: 1142 UPDATE command denied to user 'aijiying'@'127.0.0.1' for table 'm_jobs' |
Error SQL | UPDATE `m_jobs` SET `hits` = `hits` + 1 WHERE `article_id` IN (100) |
type | mysql |
hostname | localhost |
database | aijiying |
hostport | |
dsn | |
params | [] |
charset | utf8 |
prefix | m_ |
debug | true |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
resultset_type | array |
auto_timestamp | false |
datetime_format | Y-m-d H:i:s |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |
break_match_str | [] |
PHPSESSID | salms4v6hiar6t65k3eji1fgo0 |
_FCGI_X_PIPE_ | \\.\pipe\IISFCGI-82044f9e-b10b-44e1-85b7-6874a61b1fa5 |
PHP_FCGI_MAX_REQUESTS | 1000 |
PHPRC | C:\php_56 |
ALLUSERSPROFILE | C:\ProgramData |
APPDATA | C:\Windows\system32\config\systemprofile\AppData\Roaming |
APP_POOL_CONFIG | C:\inetpub\temp\apppools\aijiying\aijiying.config |
APP_POOL_ID | aijiying |
CommonProgramFiles |