Пример #1
0
 public function getParams(array $constants = array())
 {
     $constants = parent::getParams($constants);
     if (!isset($constants['driver_options'])) {
         $constants['driver_options'] = array();
     }
     if (!isset($constants['driver_options'][\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY])) {
         $constants['driver_options'][\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY] = true;
     }
     return $constants;
 }