$this->debug(false, '', $master);
// 返回结果集
return $this->getResult($pdo, $procedure);
} catch (\PDOException $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw new PDOException($e, $this->config, $this->getLastsql());
} catch (\Throwable $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
}
throw $e;
} catch (\Exception $e) {
if ($this->isBreak($e)) {
return $this->close()->query($sql, $bind, $master, $pdo);
SQLSTATE | 42000 |
Driver Error Code | 1064 |
Driver Error Message | You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1,2,3,4,5,6,7,8,9,10,12,13) ) AND `is_check` = ?' at line 1 |
Error Code | 10501 |
Error Message | SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1,2,3,4,5,6,7,8,9,10,12,13) ) AND `is_check` = ?' at line 1 |
Error SQL | SELECT COUNT(*) AS tp_count FROM `hope_product` WHERE ( cate_id in (,1,2,3,4,5,6,7,8,9,10,12,13) ) AND `is_check` = 1 |
type | mysql |
hostname | b-4uqq9ttf15n7r2.bch.rds.bj.baidubce.com |
database | b_4uqq9ttf15n7r2 |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | hope_ |
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 | [] |
cate_no | 24 |
sort_method | 6 |
PHPSESSID | 08fbj35ur0j9bf03h999l17gl2 |
BAEID | 989179F686276C4D20363DF7AF7F3044 |
USER | bae |
HOME | /home/bae |
HTTP_COOKIE | PHPSESSID=08fbj35ur0j9bf03h999l17gl2; BAEID=989179F686276C4D20363DF7AF7F3044 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_HOST | www.ahldf.com.cn |
HTTP_CLIENTIP | 45.43.222.102 |
HTTP_X_FORWARDED_FOR | 45.43.222.102 |
HTTP_X_FORWARDED_PROTO | http |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.ahldf.com.cn |
SERVER_ADDR | 172.17.0.11 |
REMOTE_PORT | |
REMOTE_ADDR | 45.43.222.102 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/bae/app |
DOCUMENT_URI | /index.php/product/list.html |
REQUEST_URI | /product/list.html?cate_no=24&sort_method=6 |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | cate_no=24&sort_method=6 |
SERVER_PORT | 80 |
PATH_INFO | /product/list.html |
SCRIPT_NAME | /index.php/product/list.html |
SCRIPT_FILENAME | /home/bae/app/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/product/list.html/product/list.html |
REQUEST_TIME_FLOAT | 1714179356.5186 |
REQUEST_TIME | 1714179356 |
SERVER_SOFTWARE | bae/3.0 |
BAE_ENV_APPID | appid1z6j8br3r2 |
BAE_ENV_LOG_HOST | 172.17.0.1 |
BAE_ENV_LOG_PORT | 7000 |
BAE_MEMORY | 128 |
DS | / |
APP_PATH | /home/bae/app/./application/ |
CONF_PATH | /home/bae/app/./config/ |
PUBILC_PATH | /home/bae/app/ |
ROOT_PATH | /home/bae/app |
CACHE_PATH | /home/bae/app/./runtime/ |
CONFIG_PATH | /home/bae/app/./config/ |
UPLOAD_PATH | uploads |