* [ADD] Unit testing. Work in progress.

* [MOD] Added some connection options to MySQL handler
This commit is contained in:
nuxsmin
2018-06-02 22:19:14 +02:00
parent addeccec94
commit 0dd5cea67f

View File

@@ -39,7 +39,7 @@ class MySQLHandler implements DBStorageInterface
const STATUS_OK = 0;
const STATUS_KO = 1;
const PDO_OPTS = [
PDO::ATTR_EMULATE_PREPARES => false,
PDO::ATTR_EMULATE_PREPARES => true,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::MYSQL_ATTR_FOUND_ROWS => true
];