Browse Source

Revert emulate prepares (#5035)

Joan Miquel 6 years ago
parent
commit
bdb44b063f

+ 1 - 2
frameworks/PHP/kumbiaphp/bench/app/controllers/raw_controller.php

@@ -10,8 +10,7 @@ class RawController extends AppController
         header('Content-type: application/json');
 
         $this->pdo = new PDO('mysql:host=tfb-database;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', [
-            PDO::ATTR_PERSISTENT => true,
-            PDO::ATTR_EMULATE_PREPARES => false
+            PDO::ATTR_PERSISTENT => true
         ]);
     }
 

+ 1 - 2
frameworks/PHP/php/dbquery.php

@@ -4,8 +4,7 @@ header('Content-type: application/json');
 // Database connection
 // http://www.php.net/manual/en/ref.pdo-mysql.php
 $pdo = new PDO('mysql:host=tfb-database;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', [
-    PDO::ATTR_PERSISTENT => true,
-    PDO::ATTR_EMULATE_PREPARES => false
+    PDO::ATTR_PERSISTENT => true
 ]);
 
 // Read number of queries to run from URL parameter

+ 1 - 2
frameworks/PHP/php/updateraw.php

@@ -4,8 +4,7 @@ header('Content-type: application/json');
 // Database connection
 // http://www.php.net/manual/en/ref.pdo-mysql.php
 $pdo = new PDO('mysql:host=tfb-database;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', [
-  PDO::ATTR_PERSISTENT => true,
-  PDO::ATTR_EMULATE_PREPARES => false
+  PDO::ATTR_PERSISTENT => true
 ]);
 
 // Read number of queries to run from URL parameter