svn: /php/php-src/trunk/ext/pdo_dblib/ dblib_driver.c

From: Date: Wed, 23 Jun 2010 01:29:01 +0000
Subject: svn: /php/php-src/trunk/ext/pdo_dblib/ dblib_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62950@lists.php.net to get a copy of this message
ssufficool Wed, 23 Jun 2010 01:29:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300685 Log: Fix Bug #47588 - Allow Quoted Identifiers Bug: http://bugs.php.net/47588 (Assigned) PDO_DBLIB: barfs on quoted field names Changed paths: U php/php-src/trunk/ext/pdo_dblib/dblib_driver.c Modified: php/php-src/trunk/ext/pdo_dblib/dblib_driver.c =================================================================== --- php/php-src/trunk/ext/pdo_dblib/dblib_driver.c 2010-06-23 01:06:43 UTC (rev 300684) +++ php/php-src/trunk/ext/pdo_dblib/dblib_driver.c 2010-06-23 01:29:01 UTC (rev 300685) @@ -310,10 +310,13 @@ /* dblib do not return more than this length from text/image */ DBSETOPT(H->link, DBTEXTLIMIT, "2147483647"); - + /* limit text/image from network */ DBSETOPT(H->link, DBTEXTSIZE, "2147483647"); + /* allow double quoted indentifiers */ + DBSETOPT(H->link, DBQUOTEDIDENT, NULL); + if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) { goto cleanup; }

« previous php.cvs (#62950) next »