Skip to content

Commit 064c62e

Browse files
committed
Fix #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs)
1 parent 1e9bc56 commit 064c62e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

NEWS

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ PHP NEWS
1919
. Fixed bug #61930 (openssl corrupts ssl key resource when using
2020
openssl_get_publickey()). (Stas)
2121

22+
- PDO_mysql:
23+
. Fixed bug #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs).
24+
(Johannes)
25+
2226
- SPL:
2327
. Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
2428
(patch by [email protected], Laruence)

ext/mysqlnd/mysqlnd_alloc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static const char mysqlnd_free_name[] = "_mysqlnd_free";
4242
static const char mysqlnd_pestrndup_name[] = "_mysqlnd_pestrndup";
4343
static const char mysqlnd_pestrdup_name[] = "_mysqlnd_pestrdup";
4444

45-
const char * mysqlnd_debug_std_no_trace_funcs[] =
45+
PHPAPI const char * mysqlnd_debug_std_no_trace_funcs[] =
4646
{
4747
mysqlnd_emalloc_name,
4848
mysqlnd_ecalloc_name,

ext/mysqlnd/mysqlnd_alloc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#ifndef MYSQLND_ALLOC_H
2525
#define MYSQLND_ALLOC_H
2626

27-
extern const char * mysqlnd_debug_std_no_trace_funcs[];
27+
PHPAPI extern const char * mysqlnd_debug_std_no_trace_funcs[];
2828

2929
#define MYSQLND_MEM_D TSRMLS_DC ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC
3030
#define MYSQLND_MEM_C TSRMLS_CC ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC

0 commit comments

Comments
 (0)