]> git.pld-linux.org Git - packages/php.git/blame - libdb-info.patch
up to 7.4.0alpha3
[packages/php.git] / libdb-info.patch
CommitLineData
55cbf8a6
ER
1--- php-7.0.0beta1/ext/dba/dba.c.libdb 2015-07-08 02:24:59.119020904 +0200
2+++ php-7.0.0beta1/ext/dba/dba.c 2015-07-08 07:01:43.158767655 +0200
3@@ -52,6 +52,10 @@
4 #include "php_qdbm.h"
5 #include "php_tcadb.h"
6
7+#ifdef DB4_INCLUDE_FILE
8+#include DB4_INCLUDE_FILE
9+#endif
10+
11 /* {{{ arginfo */
12 ZEND_BEGIN_ARG_INFO_EX(arginfo_dba_popen, 0, 0, 2)
13 ZEND_ARG_INFO(0, path)
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.048378 seconds and 4 git commands to generate.