#42544 [Opn->Csd]: mssql_select_db changes all open connections OR new_link boolean doesn't work
ID: 42544
Updated by: vrana@php.net
Reported By: walter at wjd dot nu
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: linux/debian, linux/ubuntu
PHP Version: 4.4.7
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2009-11-23 12:46:45] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=291197
Log: Warn about Sybase (bug #42544)
------------------------------------------------------------------------
[2008-11-22 22:28:08] walter at wjd dot nu
How is that no feedback? Did I forget to tick a box?
------------------------------------------------------------------------
[2008-11-18 01:00:01] doc-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-11-11 22:11:29] walter at wjd dot nu
I'm sorry. I didn't think my comments left that much room for
interpretation. I'll go very very slow:
1) noob user installs php and sybase_ct (because his package manager
tells him that that's the way to connect to MS-SQL databases)
2) noob user looks for mssql functions
3) noob user finds mssql_* functions that seem to work, except for the
mssql_connect function's fourth parameter which looks like its broken.
4) but wait, it is not broken. noob user is looking in the wrong
place.
I don't know who came up with the FALIAS'ing of mssql_* to sybase_* in
the sybase_ct module. But the fact that the mssql_* functions do not do
what they advertise means that (1) either sybase_ct is broken because it
implements documented functionality in the wrong way or that (2) the
documentation is wrong.
The simplest fix is a big red warning sign on the mssql_connect page
that says: """Hey noob! If you have sybase_ct.so in your php.ini, you're
should be loooking at sybase_connect."""
------------------------------------------------------------------------
[2008-11-10 11:15:29] vrana@php.net
Please specify what exactly should be documented.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42544
--
Edit this bug report at http://bugs.php.net/?id=42544&edit=1
Thread (4 messages)