php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #64338
Patch pdo_dblib.patch revision 2013-03-04 16:00 UTC by mah at everybody dot org
revision 2013-03-02 15:30 UTC by mah at everybody dot org

Patch pdo_dblib.patch for MSSQL related Bug #64338

Patch version 2013-03-04 16:00 UTC

Return to Bug #64338 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions: 2013-03-04 16:00 UTC | 2013-03-02 15:30 UTC

Developer: mah@everybody.org



  +	}
   	
   #if !PHP_DBLIB_IS_MSSQL
   	if (vars[0].optval) {
 @@ -317,9 +320,6 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
 @@ -315,11 +315,8 @@ static int pdo_dblib_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
  	DBSETOPT(H->link, DBTEXTSIZE, "2147483647");
  
   	/* allow double quoted indentifiers */
  	DBSETOPT(H->link, DBQUOTEDIDENT, NULL);
 -	DBSETOPT(H->link, DBQUOTEDIDENT, 1);
 +	DBSETOPT(H->link, DBQUOTEDIDENT, "1");
   
  -	if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {
  -		goto cleanup;
  -	}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 07:02:06 2014 UTC