mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Abort if driver cannot be registered.
This commit is contained in:
parent
7a214b66ae
commit
a0b3e87003
1 changed files with 1 additions and 2 deletions
|
@ -61,8 +61,7 @@ ZEND_GET_MODULE(pdo_mysql)
|
|||
*/
|
||||
PHP_MINIT_FUNCTION(pdo_mysql)
|
||||
{
|
||||
php_pdo_register_driver(&pdo_mysql_driver);
|
||||
return SUCCESS;
|
||||
return php_pdo_register_driver(&pdo_mysql_driver);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue