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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jdw at omegafi dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 10:01:30 2024 UTC