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

 ID:                 48539
 Comment by:         tom at punkave dot com
 Reported by:        frase at cs dot wisc dot edu
 Summary:            pdo_dblib fails to connect, throws empty
                     PDOException "SQLSTATE[] (null)"
 Status:             Closed
 Type:               Bug
 Package:            PDO related
 Operating System:   *
 PHP Version:        5.2.10, 5.3.0RC4
 Assigned To:        felipe
 Block user comment: N
 Private report:     N

 New Comment:

Did this fix ever get put in PHP 5.3? I am getting this error exactly as


originally described with all PHP 5.3.x versions tried.


Previous Comments:
------------------------------------------------------------------------
[2009-06-28 02:10:33] fel...@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in 5.2 and HEAD.

5.3 in soon.



Thanks.

------------------------------------------------------------------------
[2009-06-27 21:43:08] tilo at levante dot de

The following patch solved the issue in version 5.2.10

These three lines were added from version 5.2.9 to 5.2.10.



I use a ms sql 7 server, maybe this server is not able th set the
TEXTLIMIT to the given value.



Greetings



tilo





--- ext/pdo_dblib/dblib_driver.c.orig   2009-03-20 23:14:17.000000000
+0100

+++ ext/pdo_dblib/dblib_driver.c        2009-06-28 01:50:50.000000000 +0200

@@ -230,9 +230,9 @@

                goto cleanup;

        }

 

-       if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {

-               goto cleanup;

-       }

+//     if (DBSETOPT(H->link, DBTEXTLIMIT, "2147483647") == FAIL) {

+//             goto cleanup;

+//     }

 

        if (vars[3].optval && FAIL == dbuse(H->link, vars[3].optval)) {

                goto cleanup;

------------------------------------------------------------------------
[2009-06-25 16:57:52] nicholas dot j dot miller at gmail dot com

Our development team is seeing this problem in 5.2.10 as well.

------------------------------------------------------------------------
[2009-06-19 16:58:52] thomas dot parrott at jellyfish dot co dot uk

This issue appears to be in 5.2.10 as well.

------------------------------------------------------------------------
[2009-06-19 13:40:03] frase at cs dot wisc dot edu

This problem remains in RC4.

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


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/bug.php?id=48539


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

Reply via email to