]> git.pld-linux.org Git - packages/php.git/blame - libdb-info.patch
Merge branch 'dev-8.0' into master
[packages/php.git] / libdb-info.patch
CommitLineData
3812f95c
ER
1--- php-8.0.0rc1/ext/dba/dba.c~ 2020-10-09 19:00:25.000000000 +0300
2+++ php-8.0.0rc1/ext/dba/dba.c 2020-10-09 19:01:14.638869747 +0300
3@@ -50,6 +50,10 @@
4 #include "php_lmdb.h"
5 #include "dba_arginfo.h"
55cbf8a6
ER
6
7+#ifdef DB4_INCLUDE_FILE
8+#include DB4_INCLUDE_FILE
9+#endif
10+
3812f95c
ER
11 PHP_MINIT_FUNCTION(dba);
12 PHP_MSHUTDOWN_FUNCTION(dba);
13 PHP_MINFO_FUNCTION(dba);
55cbf8a6
ER
14@@ -545,6 +549,10 @@ PHP_MINFO_FUNCTION(dba)
15
16 php_info_print_table_start();
17 php_info_print_table_row(2, "DBA support", "enabled");
18+#ifdef DB_VERSION_STRING
19+ php_info_print_table_row(2, "libdb header version", DB_VERSION_STRING);
20+ php_info_print_table_row(2, "libdb library version", db_version(NULL, NULL, NULL));
21+#endif
22 if (handlers.s) {
23 smart_str_0(&handlers);
24 php_info_print_table_row(2, "Supported handlers", ZSTR_VAL(handlers.s));
This page took 0.03246 seconds and 4 git commands to generate.