php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28481 sybase-db vs. sybase-ct
Submitted: 2004-05-22 01:40 UTC Modified: 2005-04-29 15:52 UTC
From: philip at cornado dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2004-05-22 01:40 UTC] philip at cornado dot com
Description:
------------
The Sybase documentation doesn't clearly differentiate between Sybase-DB and Sybase-CT.  Some functions exist while compiling --with-sybase-ct that don't exist (undefined) when using --with-sybase and this needs to be recognized in the documentation.  Is Sybase-DB deprecated?  Perhaps someone familiar with Sybase/MSSQL can comment on all of this as I could be way off base here.

AFAICT (as a person who's never used either Sybase) the following functions only exist in Sybase-CT:

sybase_unbuffered_query()
sybase_fetch_assoc()
sybase_set_message_handler()
sybase_deadlock_retry_count()

Source files:
http://lxr.php.net/source/php-src/ext/sybase_ct/php_sybase_ct.c
http://lxr.php.net/source/php-src/ext/sybase/php_sybase_db.c

This should all apply to MS SQL as well.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-22 06:12 UTC] joey@php.net
We are aware of PHP's problems with stability under IIS and are working 
to rectify the problem. Unfortunatly your bug report does not contain any
extra useful information and we already have enough bug reports open about
this issue. If you can provide more detailed information such as a 
reproducable crash or a backtrace please do so and reopen this bug. 
Otherwise please keep trying new releases as we are working to resolve 
the problems on this platform
 
Thanks for your interest in PHP.

DB-Lib has been deprecated by the vendor, but is still in use in a lot of production databases. CT-Lib is the currently supported way to access Sybase databases.

I'm not 100% certain PHP documentation needs to differentiate here, because the people who need sybase support generally know already which one they need.
 [2004-05-22 06:18 UTC] joey@php.net
That's sort of annoying. I managed to pick the IIS thing somehow...blame it on the fact that I'm using a GUI now instead of a console.
 [2005-04-29 15:52 UTC] vrana@php.net
It seems this one has been fixed on 2004/05/25. I suppose Sybase-DB is older but not deprecated. MS SQL documentation should not be cluttered by this, mssql_* aliases are undocumeted feature (I think it's undocomented by purpose).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 19:01:28 2024 UTC