summaryrefslogtreecommitdiff
path: root/includes/database/database.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r--includes/database/database.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 9ca77ea50..98dafae8a 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -1293,6 +1293,9 @@ abstract class Database {
/**
* Gets the connection object for the specified database key and target.
*
+ * Note: do not use the setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE) on the
+ * returned object because of http://bugs.php.net/bug.php?id=43139.
+ *
* @param $target
* The database target name.
* @param $key