diff options
-rw-r--r-- | ext/odbc/php_odbc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index cfd6e95518..20511f8b75 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -841,6 +841,10 @@ PHP_MINFO_FUNCTION(odbc) snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); php_info_print_table_row(2, "Active Links", buf); php_info_print_table_row(2, "ODBC library", PHP_ODBC_TYPE); +#ifdef ODBCVER + snprintf(buf, sizeof(buf), "0x%0.4x", ODBCVER); + php_info_print_table_row(2, "ODBCVER", buf); +#endif #ifndef PHP_WIN32 php_info_print_table_row(2, "ODBC_INCLUDE", PHP_ODBC_INCLUDE); php_info_print_table_row(2, "ODBC_LFLAGS", PHP_ODBC_LFLAGS); |