ID:               49280
 Updated by:       j...@php.net
 Reported By:      ar at ez dot no
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQLi related
 Operating System: *
 PHP Version:      5.3.0
 New Comment:

So you want to circumvent a bug by adding a constant instead of fixing
the actual bug? Can you please explain WHAT does not work like it should
when you have enabled mysqlnd..?


Previous Comments:
------------------------------------------------------------------------

[2009-08-17 14:21:35] ar at ez dot no

Seems to be possible with something like this as well:

strpos( mysqli_get_client_info(), 'mysqlnd ' ) !== false

But constant would still be a bit cleaner.

------------------------------------------------------------------------

[2009-08-17 14:10:00] ar at ez dot no

Description:
------------
There doesn't seem to be possible to cleanly* detect that mysqlnd is
currently in use.


* Constant would be nice, preferably already in 5.3.next
Detecting by presence off 'mysqli_fetch_all' or other functions is not
exactly clean.

Use case: Disabling / enabling Persistent Connections based on
application specific settings.
See: http://issues.ez.no/IssueView.php?Id=15315



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49280&edit=1

Reply via email to