|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-03-16 21:44 UTC] mauroi at digbang dot com
Description:
------------
When using a binary_float field, apache hangs.
I works ok using a binary_double.
Thanks in advance.
Reproduce code:
---------------
sql:
create table foo (field binary_float);
insert into foo values ('23');
commit;
php:
$conn = new PDO('oci:dbname=armani', 'cincuenta', 'cincuenta');
$a = $conn->prepare('SELECT * FROM foo');
$a->execute();
var_dump($a->fetch());
Expected result:
----------------
the row information
Actual result:
--------------
hangs
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
I'm using oracle instant client (on windows), and oracle 10R2 on linux also. I tried this script on linux (centos4, same machine): $conn = new PDO('oci:dbname= :o)', 'user', 'pass'); $a = $conn->prepare('SELECT * FROM foo'); var_dump($a->execute()); echo 'aa'; var_dump($a->fetch()); echo 'bb'; and got this: "bool(true) aa" (row information and bb missing) I don't get anything wrong in the error_log. Just the usual line in the access_log. Did you insert data on the table? With an empty table it doesn't happen. Thank you.