Commit: 317653e694c8cd3a3cc4c12c527af584726a66c7 Author: Stanley Sufficool <ssuffic...@php.net> Fri, 31 May 2013 23:24:57 -0700 Parents: 0e2bcf3373d914a215784c041a2a4c3b6afc2034 Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=317653e694c8cd3a3cc4c12c527af584726a66c7 Log: FIX BUG #61900 PDO DBLIB was not setting error and message handlers when FreeTDS was used. Updated to set error and message handlers the same way as mssql. Bugs: https://bugs.php.net/61900 Changed paths: M ext/pdo_dblib/dblib_driver.c Diff: diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index 0def312..86c12bf 100644 --- a/ext/pdo_dblib/dblib_driver.c +++ b/ext/pdo_dblib/dblib_driver.c @@ -297,10 +297,8 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ DBSETLAPP(H->login, vars[1].optval); -#if PHP_DBLIB_IS_MSSQL - dbprocerrhandle(H->login, (EHANDLEFUNC) error_handler); - dbprocmsghandle(H->login, (MHANDLEFUNC) msg_handler); -#endif + DBERRHANDLE(H->login, (EHANDLEFUNC) error_handler); + DBMSGHANDLE(H->login, (MHANDLEFUNC) msg_handler); H->link = dbopen(H->login, vars[2].optval); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php