#36450 [Opn->Asn]: DECIMAL and TEXT field Crash
| From: | georg@php.net | Date: | Sun, 19 Feb 2006 19:46:57 +0000 |
| Subject: | #36450 [Opn->Asn]: DECIMAL and TEXT field Crash | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372000@lists.php.net to get a copy of this message | ||
ID: 36450
Updated by: georg@php.net
Reported By: jon at bitsnpcz dot com
-Status: Open
+Status: Assigned
-Bug Type: MySQLi related
+Bug Type: Documentation problem
Operating System: Windows Server 2003
PHP Version: 5.1.2
-Assigned To:
+Assigned To: georg
New Comment:
This only happens when you connect to a MySQL 5.0.x database, using a
4.1.x client
possible Solutions:
a) download binaries from http://dev.mysql.com/downloads/connector/php/
b) compile php on windows with 5.0.18 headers and libraries
Docs should be updated - assigning bug to myself (or to Ulf Wendel :-)
Previous Comments:
------------------------------------------------------------------------
[2006-02-19 02:01:04] jon at bitsnpcz dot com
Description:
------------
When querying a mysql database through the mysqli connector object, for
values from a TEXT field and a DECIMAL(5,2) PHP ceases output.
Reproduce code:
---------------
$query = mysqli_stmt_init($conn);
mysqli_stmt_prepare($query, "SELECT * FROM TBLTEST");
mysqli_stmt_execute($query); //Execute Statement
mysqli_stmt_store_result($query);
mysqli_stmt_close($query);
Expected result:
----------------
Smooth Execution
Actual result:
--------------
output is halted, text is recieved by the browser upto halfway through
a block of HTML
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36450&edit=1