summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc_includes.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-02-24 12:00:26 +0100
committerAnatol Belski <ab@php.net>2016-02-24 12:03:21 +0100
commitc9778d3eb9a4531dad5df21a0c9b3ddcb9807eff (patch)
treeacf9f2cc10d8deb25b9e6e98da76fea462b05778 /ext/odbc/php_odbc_includes.h
parent6e1862d0a864d49b577403ae22fd4a9b64370168 (diff)
downloadphp-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.h8
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;