Merge pull request #15 from cherginets/15-fix-group-concat

fix group concat setting
This commit is contained in:
Alex Lushpai 2016-09-05 16:49:55 +03:00 committed by GitHub
commit b3a041482e

View File

@ -59,7 +59,7 @@ class Container
); );
$this->db->exec("set names utf8"); $this->db->exec("set names utf8");
$this->db->exec("set global group_concat_max_len = 1000000"); $this->db->exec("set group_concat_max_len = 1000000");
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING); $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
} catch (PDOException $e) { } catch (PDOException $e) {
CommandHelper::activateNotice('database'); CommandHelper::activateNotice('database');