Commit ee17b700 authored by Alexander Butenko's avatar Alexander Butenko

Merge pull request #389 from avbdr/master

fixes
parents 151ef44e 873077a6
......@@ -1731,7 +1731,7 @@ class MysqliDb
public function copy()
{
$copy = unserialize(serialize($this));
$copy->_mysqli = $this->_mysqli;
$copy->_mysqli = null;
return $copy;
}
......
......@@ -360,6 +360,8 @@ if ($c != 3) {
echo "copy with subquery count failed";
exit;
}
unset ($cnt);
$data = $db->get('users');
if (count($data) != 3) {
echo "copy with subquery data count failed";
......
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