diff options
author | Anatol Belski <ab@php.net> | 2016-02-24 12:00:26 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-02-24 12:03:21 +0100 |
commit | c9778d3eb9a4531dad5df21a0c9b3ddcb9807eff (patch) | |
tree | acf9f2cc10d8deb25b9e6e98da76fea462b05778 /ext/odbc/php_odbc_includes.h | |
parent | 6e1862d0a864d49b577403ae22fd4a9b64370168 (diff) | |
download | php-git-c9778d3eb9a4531dad5df21a0c9b3ddcb9807eff.tar.gz |
Port patch and test for bug #47803 to 7.0
See ff115e285ab5192f9e12a43d5dc202d88b01f1ea
Diffstat (limited to 'ext/odbc/php_odbc_includes.h')
-rw-r--r-- | ext/odbc/php_odbc_includes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h index dad7ff1c95..fa525ed4ad 100644 --- a/ext/odbc/php_odbc_includes.h +++ b/ext/odbc/php_odbc_includes.h @@ -233,6 +233,13 @@ typedef struct odbc_result_value { SQLLEN coltype; } odbc_result_value; +typedef struct odbc_param_info { + SQLSMALLINT sqltype; + SQLSMALLINT scale; + SQLSMALLINT nullable; + SQLULEN precision; +} odbc_param_info; + typedef struct odbc_result { ODBC_SQL_STMT_T stmt; odbc_result_value *values; @@ -244,6 +251,7 @@ typedef struct odbc_result { zend_long longreadlen; int binmode; int fetched; + odbc_param_info * param_info; odbc_connection *conn_ptr; } odbc_result; |