Lines Matching refs:getAttribute
23 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
61 /* TODO - why is this a valid option if getAttribute() does not support it?! */
65 /* TODO getAttribute() does not handle it */
67 /* TODO getAttribute() does not handle it */
88 /* TODO getAttribute() is pretty poor in supporting the options, suppress errors */
89 $tmp = @$db->getAttribute($option);
91 …printf("[003a] Expecting default value for '%s' of '%s'/%s, getAttribute() reports setting '%s'/%s…
97 if (!is_object($db) || !$db->getAttribute(PDO::ATTR_AUTOCOMMIT))
101 if (!is_object($db) || $db->getAttribute(PDO::ATTR_AUTOCOMMIT))
118 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
120 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
127 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
129 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
136 if (!$db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
138 if (!$db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
142 if ($db->getAttribute(PDO::ATTR_EMULATE_PREPARES))
144 if ($db->getAttribute(PDO::MYSQL_ATTR_DIRECT_QUERY))
177 [003a] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() repo…