10000 自动连接参数调用错误 by sunanzhi · Pull Request #543 · top-think/think-orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

自动连接参数调用错误 #543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 3.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/db/PDOConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ public function connect(array $config = [], $linkNum = 0, $autoConnection = fals
if ($autoConnection) {
$this->db->log($e->getMessage(), 'error');

return $this->connect($autoConnection, $linkNum);
return $this->connect([], $linkNum, false);
} else {
throw $e;
}
Expand Down
0