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 */
84 /* TODO getAttribute() is pretty poor in supporting the options, suppress errors */
85 $tmp = @$db->getAttribute($option);
87 …printf("[003a] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s…
93 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
97 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
114 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
116 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
123 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
125 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
132 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
134 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
138 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
140 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
167 [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() repo…