Skip to content
Browse files

MFH Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug…

…_init at

    startup)
  • Loading branch information...
1 parent 76b30f6 commit bcb40030a53c17304a14c89dfa01d9e7fb069b41 @johannes johannes committed
Showing with 4 additions and 2 deletions.
  1. +2 −0 NEWS
  2. +1 −1 ext/mysqlnd/mysqlnd_debug.c
  3. +1 −1 ext/mysqlnd/mysqlnd_debug.h
View
2 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).
View
2 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
View
2 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

0 comments on commit bcb4003

Please sign in to comment.
Something went wrong with that request. Please try again.