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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

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: Sun Oct 25 07:01:25 2020 UTC