Commit 6c0ed987 authored by Alexander Butenko's avatar Alexander Butenko

issue #388 dont share mysqli between copy'ed in subquery

parent 151ef44e
......@@ -1731,7 +1731,7 @@ class MysqliDb
public function copy()
{
$copy = unserialize(serialize($this));
$copy->_mysqli = $this->_mysqli;
$copy->_mysqli = null;
return $copy;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment