Re: [PHP4BETA] php4b3 and freetds

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] php4b3 and freetds
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6901@lists.php.net to get a copy of this message
> Opinions on freetds support under php4? the latest cvs will build with it, > but for those who have tried it segfaults under certain circumstances. > > I have tracked down the problem and "hacked" a fix in, and I *mean* hack, > it sucks, but before I look at a real solution, I wanna know whether > people are interested in supporting it. As far as I am aware, freetds is > the only sybase-ct compatible library that will run on the latest debian > and still talk to MS-SQL, so it might be a good move (I certainly hope > so..:) > > Essentially, after you get past the fact that freetds does an > fprintf(stderr) where it shouldn't, the problem is that php4 calls > ct_con_props(CS_GET,CS_CON_STATUS,..), and freetds doesn't support the > status call (hence it tries to tell the user wich an fprintf which > segfaults the program). > > As far as I can see, its a missing feature in freetds, which should really > be recitified, I can look at doing that, but is there a decent number of > people who are likely to be in this situation? Yes, freetds support is definitely something we want. Mention this problem to the freetds developers. They have always been very quick to fix stuff in the past and they are very PHP-friendly. -Rasmus

« previous php.version4 (#6901) next »