]> granicus.if.org Git - php/commit
Fixed bug #68964 Allowed memory size exhausted with odbc_exec
authorAnatol Belski <ab@php.net>
Fri, 6 Feb 2015 18:00:27 +0000 (19:00 +0100)
committerAnatol Belski <ab@php.net>
Fri, 6 Feb 2015 18:00:27 +0000 (19:00 +0100)
commita41aa46759d20e23af92df00b917ca66c6102412
tree42362ef936b056a2ad7493a531a67ff2b29f469e
parent9ef0c39b2b9e1a8212a953aee9deee26f0978ce8
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/config.m4
ext/odbc/config.w32
ext/odbc/php_odbc.h
ext/odbc/php_odbc_includes.h