Skip to content

Commit 6c0ed98

Browse files
committed
issue #388 dont share mysqli between copy'ed in subquery
1 parent 151ef44 commit 6c0ed98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MysqliDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ public static function subQuery($subQueryAlias = "")
17311731
public function copy()
17321732
{
17331733
$copy = unserialize(serialize($this));
1734-
$copy->_mysqli = $this->_mysqli;
1734+
$copy->_mysqli = null;
17351735
return $copy;
17361736
}
17371737

0 commit comments

Comments
 (0)