Searched refs:driver (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/mysqli/tests/
H A Dconnect.inc9 $driver = new mysqli_driver;
H A Dskipifemb.inc2 $driver = new mysqli_driver();
3 if ($driver->embedded)
H A Dskipifnotemb.inc2 $driver = new mysqli_driver();
3 if (!$driver->embedded)
/PHP_TRUNK/ext/pdo/tests/
H A Dpdo_test.inc19 // create an instance of the PDO driver, based on
/PHP_TRUNK/ext/pdo/
H A Dpdo.c51 /* we use persistent resources for the driver connection stuff */
179 PDO_API int php_pdo_register_driver(pdo_driver_t *driver) /* {{{ */ argument
181 if (driver->api_version != PDO_DRIVER_API) {
182 zend_error(E_ERROR, "PDO: driver %s requires PDO API version %pd; this is PDO version %d",
183 driver->driver_name, driver->api_version, PDO_DRIVER_API);
191 return zend_hash_str_add_ptr(&pdo_driver_hash, (char*)driver->driver_name, driver->driver_name_len, driver) != NULL;
195 PDO_API void php_pdo_unregister_driver(pdo_driver_t *driver) /* {{{ */ argument
[all...]
H A Dphp_pdo.h74 if (!dbh->driver) { \
H A Dphp_pdo_driver.h75 and the driver is responsible for adding correct type information to get_column_meta()
138 PDO_ATTR_DRIVER_NAME, /* name of the driver (as used in the constructor) */
144 /* this defines the start of the range for driver specific options.
219 /* This structure is registered with PDO when a PDO driver extension is
230 /* create driver specific portion of the database handle and stash it into
246 /* prepare a statement and stash driver specific portion into stmt */
266 * to the statement, otherwise fetch global error information. The driver
269 * - string representation of the error code ... any other optional driver
281 /* called at request end for each persistent dbh; this gives the driver
287 pointer to a list of driver specifi
489 pdo_driver_t *driver; member in struct:_pdo_dbh_t
[all...]
H A Dpdo_dbh.c49 /* BUG: if user is running in silent mode and hits an error at the driver level
207 pdo_driver_t *driver = NULL; local
258 driver = pdo_find_driver(data_source, colon - data_source);
260 if (!driver) {
263 zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "could not find driver");
364 if (driver->db_handle_factory(dbh, options TSRMLS_CC)) {
384 dbh->driver = driver;
591 zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "This driver doesn't support transactions");
821 zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "The auto-commit mode cannot be changed for this driver");
[all...]
/PHP_TRUNK/ext/pdo_mysql/
H A Dpdo_mysql.c72 if (dbh->driver != &pdo_mysql_driver) {
73 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Provided PDO instance is not using MySQL but %s", dbh->driver->driver_name);

Completed in 31 milliseconds