Commit 897c141b authored by Alex Ne's avatar Alex Ne

Цяцька

parent 8c2205d7
...@@ -17,7 +17,7 @@ class PDOStatement { ...@@ -17,7 +17,7 @@ class PDOStatement {
*/ */
public function __construct($db, $sql) { public function __construct($db, $sql) {
$this->db = $db; $this->db = $db;
$this->prepare = $this->db->prepare($sql); $this->prepare = $this->db->prepare($sql, [\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true]);
} }
/** /**
......
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