Bug #6069 Updated: new sybase pconnect function with char set does not work with freetds
| From: | joey@php.net | Date: | Tue, 15 May 2001 17:16:55 +0000 |
| Subject: | Bug #6069 Updated: new sybase pconnect function with char set does not work with freetds | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55353@lists.php.net to get a copy of this message | ||
ID: 6069
Updated by: joey
Reported By: jdw@omegafi.com
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@php.net
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@omegafi.com
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