[PHP-DEV] Bug #6069 Updated: new sybase pconnect function with char set does not work with freetds From: joey <email protected>
Date: 05/15/01

ID: 6069
Updated by: joey
Reported By: jdw <email protected>
Old-Status: Feedback
Status: Closed
Bug Type: Sybase (dblib) related
Operating system:
PHP Version: 4.0 Latest CVS (10/08/2000)
Assigned To:
Comments:

Setting closed instead of feedback.

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

[2001-05-14 12:27:15] joey <email protected>
Just don't specify a 4th param to pconnect. This is an optional parameter, and should not cause any problems if nothing is set here.

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

[2000-08-10 06:44:44] jdw <email protected>
the new pconnect function does not work properly with freetds because freetds apparently
does not support the DBSETLCHARSET command if the following changes are made to
the sybase_db.c file it compiles properly with freetds

        if (user) {
                DBSETLUSER(sybase.login,user);
        }
        if (passwd) {
                DBSETLPWD(sybase.login,passwd);
        }
        //if (charset) {
        // DBSETLCHARSET(sybase.login,charset);
        //}

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

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6069&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>