From a41aa46759d20e23af92df00b917ca66c6102412 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 6 Feb 2015 19:00:27 +0100 Subject: 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. --- ext/odbc/php_odbc_includes.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ext/odbc/php_odbc_includes.h') diff --git a/ext/odbc/php_odbc_includes.h b/ext/odbc/php_odbc_includes.h index 84c4afc2b6..15bb737a8b 100644 --- a/ext/odbc/php_odbc_includes.h +++ b/ext/odbc/php_odbc_includes.h @@ -25,12 +25,6 @@ #if HAVE_UODBC -#define ODBCVER 0x0250 -/*#ifndef MSVC5 -#define FAR -#endif -*/ - /* checking in the same order as in configure.in */ #if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) || defined(HAVE_SOLID_35) /* Solid Server */ -- cgit v1.2.1