Lines Matching refs:getAttribute
22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
58 /* TODO - why is this a valid option if getAttribute() does not support it?! */
62 /* TODO getAttribute() does not handle it */
64 /* TODO getAttribute() does not handle it */
85 /* TODO getAttribute() is pretty poor in supporting the options, suppress errors */
86 $tmp = @$db->getAttribute($option);
88 …printf("[003a] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s…
94 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
98 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
115 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
117 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
124 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
126 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
133 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
135 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
139 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
141 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
174 [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() repo…