Browse Source

added emulate prepares to pdo options.

Taylor Otwell 13 years ago
parent
commit
79482dece5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      system/db/connector.php

+ 1 - 0
system/db/connector.php

@@ -14,6 +14,7 @@ class Connector {
 			\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
 			\PDO::ATTR_ORACLE_NULLS => \PDO::NULL_NATURAL,
 			\PDO::ATTR_STRINGIFY_FETCHES => false,
+			\PDO::ATTR_EMULATE_PREPARES => false,
 	);
 
 	/**