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-02 15:30 UTC

Return to Bug #64338 | Download this patch
This patch is obsolete

Obsoleted by patches:

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

Developer: mah@everybody.org

Line 13 (now 13), was 14 lines, now 11 lines

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