Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/Db
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-06-30 10:18:18 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-30 10:18:18 +0400
commit04e42e8b4da5d0a826ceec99ad4ed249eb079948 (patch)
treeff3d0ba681a687221b31ba2ee0779d17f2e4f1f5 /core/Db
parente0efd8c7ae98de3fabae94d8a7940c04110d7615 (diff)
renaming PDO_MYSQL -> PDO\MYSQL for consistency
Diffstat (limited to 'core/Db')
-rw-r--r--core/Db/BatchInsert.php2
-rw-r--r--core/Db/Schema.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Db/BatchInsert.php b/core/Db/BatchInsert.php
index f8325c0209..c3476438cf 100644
--- a/core/Db/BatchInsert.php
+++ b/core/Db/BatchInsert.php
@@ -168,7 +168,7 @@ class BatchInsert
/*
* Second attempt: using the LOCAL keyword means the client reads the file and sends it to the server;
- * the LOCAL keyword may trigger a known PHP PDO_MYSQL bug when MySQL not built with --enable-local-infile
+ * the LOCAL keyword may trigger a known PHP PDO\MYSQL bug when MySQL not built with --enable-local-infile
* @see http://bugs.php.net/bug.php?id=54158
*/
$openBaseDir = ini_get('open_basedir');
diff --git a/core/Db/Schema.php b/core/Db/Schema.php
index 834dfdda36..fd4f26da33 100644
--- a/core/Db/Schema.php
+++ b/core/Db/Schema.php
@@ -77,7 +77,7 @@ class Schema extends Singleton
$adapterName = strtoupper($adapterName);
switch ($adapterName) {
- case 'PDO_MYSQL':
+ case 'PDO\MYSQL':
case 'MYSQLI':
$adapterName = 'MYSQL';
break;