]>
Commit | Line | Data |
---|---|---|
78ca42ef JR |
1 | diff -urNp -x '*.orig' php-7.2.34.org/ext/dba/dba.c php-7.2.34/ext/dba/dba.c |
2 | --- php-7.2.34.org/ext/dba/dba.c 2020-09-30 07:15:52.000000000 +0200 | |
3 | +++ php-7.2.34/ext/dba/dba.c 2021-08-27 22:34:35.924503218 +0200 | |
4 | @@ -53,6 +53,10 @@ | |
55cbf8a6 | 5 | #include "php_tcadb.h" |
78ca42ef | 6 | #include "php_lmdb.h" |
55cbf8a6 ER |
7 | |
8 | +#ifdef DB4_INCLUDE_FILE | |
9 | +#include DB4_INCLUDE_FILE | |
10 | +#endif | |
11 | + | |
12 | /* {{{ arginfo */ | |
13 | ZEND_BEGIN_ARG_INFO_EX(arginfo_dba_popen, 0, 0, 2) | |
14 | ZEND_ARG_INFO(0, path) | |
78ca42ef | 15 | @@ -558,6 +562,10 @@ PHP_MINFO_FUNCTION(dba) |
55cbf8a6 ER |
16 | |
17 | php_info_print_table_start(); | |
18 | php_info_print_table_row(2, "DBA support", "enabled"); | |
19 | +#ifdef DB_VERSION_STRING | |
20 | + php_info_print_table_row(2, "libdb header version", DB_VERSION_STRING); | |
21 | + php_info_print_table_row(2, "libdb library version", db_version(NULL, NULL, NULL)); | |
22 | +#endif | |
23 | if (handlers.s) { | |
24 | smart_str_0(&handlers); | |
25 | php_info_print_table_row(2, "Supported handlers", ZSTR_VAL(handlers.s)); |