From bcb40030a53c17304a14c89dfa01d9e7fb069b41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Schl=C3=BCter?= Date: Mon, 30 Mar 2009 13:55:47 +0000 Subject: [PATCH] MFH Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at startup) --- NEWS | 2 ++ ext/mysqlnd/mysqlnd_debug.c | 2 +- ext/mysqlnd/mysqlnd_debug.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index e6dccac869..962af84568 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,8 @@ PHP NEWS ?? ??? 200?, PHP 5.3.0 RC 2 - Undeprecated ticks. (Arnaud) +- Fixed bug #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init + at startup). (Johannes) - Fixed bug #47816 (pcntl tests failing on NetBSD). (Matteo) - Fixed bug #44861 (scrollable cursor don't work with pgsql). (Matteo) - Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants). diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 51d3f0413b..8dc117617d 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -618,7 +618,7 @@ MYSQLND_CLASS_METHODS_END; /* {{{ mysqlnd_debug_init */ -MYSQLND_DEBUG *mysqlnd_debug_init(TSRMLS_D) +PHPAPI MYSQLND_DEBUG *mysqlnd_debug_init(TSRMLS_D) { MYSQLND_DEBUG *ret = ecalloc(1, sizeof(MYSQLND_DEBUG)); #ifdef ZTS diff --git a/ext/mysqlnd/mysqlnd_debug.h b/ext/mysqlnd/mysqlnd_debug.h index eb46471ee5..f872099d4a 100644 --- a/ext/mysqlnd/mysqlnd_debug.h +++ b/ext/mysqlnd/mysqlnd_debug.h @@ -58,7 +58,7 @@ struct st_mysqlnd_debug }; -MYSQLND_DEBUG *mysqlnd_debug_init(TSRMLS_D); +PHPAPI MYSQLND_DEBUG *mysqlnd_debug_init(TSRMLS_D); #define MYSQLND_MEM_D TSRMLS_DC ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC -- 2.50.1