# define FALSE 0
#endif
-#define PDO_DRIVER_API 20050702
+#define PDO_DRIVER_API 20050707
enum pdo_param_type {
PDO_PARAM_NULL,
PDO_ATTR_STATEMENT_CLASS, /* array(classname, array(ctor_args)) to specify the class of the constructed statement */
PDO_ATTR_FETCH_TABLE_NAMES, /* include table names in the column names, where available */
PDO_ATTR_FETCH_CATALOG_NAMES, /* include the catalog/db name names in the column names, where available */
+ PDO_ATTR_DRIVER_NAME, /* name of the driver (as used in the constructor) */
/* this defines the start of the range for driver specific options.
* Drivers should define their own attribute constants beginning with this
/* driver specific "class" methods for the dbh and stmt */
HashTable *cls_methods[PDO_DBH_DRIVER_METHOD_KIND__MAX];
+
+ pdo_driver_t *driver;
};
/* describes a column */