ID:               32956
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         MySQLi related
 Operating System: all
 PHP Version:      5.0.4
 Assigned To:      georg
 New Comment:

Georg fixed this already, AFAICT.



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

[2005-05-05 14:54:13] [EMAIL PROTECTED]

Description:
------------
mysqli_bind_result doesn't support MYSQL_TYPE_NULL. This causes
libmysql to fail with error buffer_length=0.

Reproduce code:
---------------
<?php

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

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

$stmt->bind_result($val);
$stmt->fetch();

var_dump($val);

$stmt->close();
$mysql->close();
?>



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


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

Reply via email to