mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Amend PDO driver-specific class names (#14069)
As suggested in https://externals.io/message/123166
This commit is contained in:
parent
ec54edb9e1
commit
6ec4220148
50 changed files with 243 additions and 229 deletions
|
@ -84,10 +84,8 @@ static const MYSQLND_REVERSE_API pdo_mysql_reverse_api = {
|
|||
};
|
||||
#endif
|
||||
|
||||
/* proto string PDO::mysqlGetWarningCount()
|
||||
* Returns the number of SQL warnings during the execution of the last statement
|
||||
*/
|
||||
PHP_METHOD(PdoMysql, getWarningCount)
|
||||
/* Returns the number of SQL warnings during the execution of the last statement */
|
||||
PHP_METHOD(Pdo_Mysql, getWarningCount)
|
||||
{
|
||||
pdo_dbh_t *dbh;
|
||||
pdo_mysql_db_handle *H;
|
||||
|
@ -151,7 +149,7 @@ static PHP_MINIT_FUNCTION(pdo_mysql)
|
|||
mysqlnd_reverse_api_register_api(&pdo_mysql_reverse_api);
|
||||
#endif
|
||||
|
||||
pdo_mysql_ce = register_class_PdoMysql(pdo_dbh_ce);
|
||||
pdo_mysql_ce = register_class_Pdo_Mysql(pdo_dbh_ce);
|
||||
pdo_mysql_ce->create_object = pdo_dbh_new;
|
||||
|
||||
if (php_pdo_register_driver(&pdo_mysql_driver) == FAILURE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue