summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-06 19:00:27 +0100
committerAnatol Belski <ab@php.net>2015-02-06 19:00:27 +0100
commita41aa46759d20e23af92df00b917ca66c6102412 (patch)
tree42362ef936b056a2ad7493a531a67ff2b29f469e /ext/odbc/php_odbc.h
parent9ef0c39b2b9e1a8212a953aee9deee26f0978ce8 (diff)
downloadphp-git-a41aa46759d20e23af92df00b917ca66c6102412.tar.gz
Fixed bug #68964 Allowed memory size exhausted with odbc_exec
This is done in two steps: - the ODBCVER has to be rased to 0x0300 which corresponds to Sql Server 9, otherwise the client will not recognize several SQL datatypes - additionally the config scripts was tweaked so then ODBCVER can be overridden, that still allows enabling compatibility with lower versions Bug #67437 might be fixed by this as well.
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index b4d279c20c..dca14966f7 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -24,7 +24,6 @@
#define PHP_ODBC_H
#if HAVE_UODBC
-#define ODBCVER 0x0250
#ifdef ZTS
#include "TSRM.h"