mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 05:02:48 +08:00
Connection类quote方法默认连接从库
This commit is contained in:
@@ -872,7 +872,7 @@ abstract class Connection
|
||||
* @param bool $master 是否主库查询
|
||||
* @return string
|
||||
*/
|
||||
public function quote($str, $master = true)
|
||||
public function quote($str, $master = false)
|
||||
{
|
||||
$this->initConnect($master);
|
||||
return $this->linkID ? $this->linkID->quote($str) : $str;
|
||||
|
||||
Reference in New Issue
Block a user