Req #63727 [Opn->Nab]: No function to access last opened connection link
| From: | aharvey@php.net | Date: | Mon, 10 Dec 2012 01:51:07 +0000 |
| Subject: | Req #63727 [Opn->Nab]: No function to access last opened connection link | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-175247@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63727&edit=1
ID: 63727
Updated by: aharvey@php.net
Reported by: oladoke at yahoo dot com
Summary: No function to access last opened connection link
-Status: Open
+Status: Not a bug
Type: Feature/Change Request
-Package: Output Control
+Package: MySQLi related
Operating System: Snow Leopard
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The mysqli object is the "connection link" when using the mysqli API.
By design â closing not a bug.
Previous Comments:
------------------------------------------------------------------------
[2012-12-08 12:02:06] oladoke at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/function.mysqli-connect#refsect1-
function.mysqli-connect-description
---
mySQL class automatically retrieved current connection link
There is not function to retrieve current connection link in mySQLi class. This
would be very useful and would make the migration from mysql to mysqli much
easier. mysqli_init() only returns an object with no thread id
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63727&edit=1