$this->PDOStatement->execute();
// 调试结束
$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 | 1305 |
Driver Error Message | FUNCTION tixiaoyi.getCategoryChildLst does not exist |
Error Code | 10501 |
Error Message | SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION tixiaoyi.getCategoryChildLst does not exist |
Error SQL | select getCategoryChildLst(4839,-1) as category_ids |
type | mysql |
hostname | rm-bp1xojw75gup625g60o.mysql.rds.aliyuncs.com |
database | tixiaoyi |
hostport | |
dsn | |
params | [] |
charset | utf8mb4 |
prefix | fa_ |
debug | false |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
result_type | 2 |
resultset_type | array |
auto_timestamp | false |
datetime_format | false |
sql_explain | false |
builder | |
query | \think\db\Query |
break_reconnect | false |