ID:               49344
 Comment by:       Rockyjl at gmail dot com
 Reported By:      rockyjl at gmai dot com
 Status:           Feedback
 Bug Type:         PDO related
 Operating System: win2003 X64
 PHP Version:      5.2.11RC1
 Assigned To:      felipe
 New Comment:

apache 2.2.13 + PHP 5.2 (5.2.11RC3-dev) VC6 x86 Thread Safe
(2009-Sep-10 12:00:00)

often happen error:

[2009-09-10 23:30:10]
127.0.0.1

ApacheBench/2.3
SQLSTATE[] (null) (severity 0)

----------------

This patch cannot work ???!!!


Previous Comments:
------------------------------------------------------------------------

[2009-09-10 06:07:50] Rockyjl at gmail dot com

PHP 5.3 (5.3.2-dev) VC6 x86 Thread Safe (2009-Sep-10 06:00:00)

http://windows.php.net/downloads/snaps/php-5.3-win32-VC6-x86-latest.zip

the bug happen too ....

------------------------------------------------------------------------

[2009-09-10 01:20:42] s...@php.net

Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=288215
Log: - Possible fix for bug #49344 on Windows (pdo_mssql fails to
connect,throws PDOException SQLSTATE[] (null) (severity 0))

------------------------------------------------------------------------

[2009-09-09 09:43:20] Rockyjl at gmail dot com

Pajoye, Thank you so much! This is very important to me !

------------------------------------------------------------------------

[2009-09-09 08:21:07] paj...@php.net

Felipe, if you feel like your patch is correct, pls apply it. The next
snap will have it.

Let me know if you prefer to provide a test DLL prior to commit. I can
build one later today.

------------------------------------------------------------------------

[2009-09-09 07:16:50] Rockyjl at gmail dot com

I don't how to NMAKE source... Anyone can help me NMake the
php_pdo_mssql.dll and php_pdo.dll with this

Index: ext/pdo_dblib/dblib_driver.c
===================================================================
--- ext/pdo_dblib/dblib_driver.c        (revisão 288156)
+++ ext/pdo_dblib/dblib_driver.c        (cópia de trabalho)
@@ -231,9 +231,7 @@
        }
 
 #if PHP_DBLIB_IS_MSSQL
-       if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {
-               goto cleanup;
-       }
+       DBSETOPT(H->link, DBTEXTSIZE, "2147483647");
 #endif
 
        if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {

thank you so much !

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49344

-- 
Edit this bug report at http://bugs.php.net/?id=49344&edit=1

Reply via email to