php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6069 new sybase pconnect function with char set does not work with freetds
Submitted: 2000-08-10 06:44 UTC Modified: 2001-05-15 13:16 UTC
From: jdw at omegafi dot com Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Latest CVS (10/08/2000) OS: linux 6.1
Private report: No CVE-ID: None
 [2000-08-10 06:44 UTC] jdw at omegafi dot 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);
	//}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-14 12:27 UTC] 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.
 [2001-05-15 13:16 UTC] joey@php.net
Setting closed instead of feedback.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Feb 21 01:01:26 2020 UTC