|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32956 mysql_bind_result doesn't support MYSQL_TYPE_NULL
Submitted: 2005-05-05 14:54 UTC Modified: 2005-05-06 02:33 UTC
From: Assigned: georg (profile)
Status: Closed Package: MySQLi related
PHP Version: 5.0.4 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2005-05-05 14:54 UTC]
mysqli_bind_result doesn't support MYSQL_TYPE_NULL. This causes libmysql to fail with error buffer_length=0.

Reproduce code:

$mysql = new mysqli("localhost", "root", "");

$stmt = $mysql->prepare("SELECT NULL FROM DUAL");





Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-06 02:33 UTC]
Georg fixed this already, AFAICT.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 13:04:08 2021 UTC