From 3a2eaefd7faea53ba06351a75136211847ba53b0 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 3 Mar 2018 14:56:19 +0100 Subject: [PATCH] [database.core.database-driver] now does not emulate prepares nor stringify output --- build/database/core/DatabaseDriver.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/database/core/DatabaseDriver.php b/build/database/core/DatabaseDriver.php index cc611be..a7553fd 100755 --- a/build/database/core/DatabaseDriver.php +++ b/build/database/core/DatabaseDriver.php @@ -74,6 +74,9 @@ \PDO::ATTR_TIMEOUT => 5 ]); + $this->pdo->setAttribute(\PDO::ATTR_STRINGIFY_FETCHES, false); + $this->pdo->setAttribute(\PDO::ATTR_EMULATE_PREPARES, false); + // On signale que tout s'est bien passe $this->error = new Error(Err::Success);