Lines Matching refs:getAttribute
21 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
59 /* TODO - why is this a valid option if getAttribute() does not support it?! */
63 /* TODO getAttribute() does not handle it */
65 /* TODO getAttribute() does not handle it */
87 /* TODO getAttribute() is pretty poor in supporting the options, suppress errors */
88 $tmp = @$db->getAttribute($option);
90 …printf("[003a] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s…
96 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
100 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
117 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
119 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
126 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
128 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
135 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
137 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
141 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
143 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
170 [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() repo…