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