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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 + 1 = ?
Subscribe to this entry?

 
 [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-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 01:01:27 2025 UTC