ID:               36764
 User updated by:  mauroi at digbang dot com
 Reported By:      mauroi at digbang dot com
 Status:           Open
 Bug Type:         PDO related
 Operating System: Win XP SP2
 PHP Version:      5CVS-2006-03-16 (snap)
 New Comment:

Sorry for the additional comment, but i think that you would like to
know that under some situations it also happens with binary_double.
Consider the following table:

create table foo (
   "char" char(10),
   "varchar" varchar2(10),
   "nchar" nchar(10),
   "nvarchar" nvarchar2(10),
   "number" number,
   "binary_float" binary_float,
   "binary_double" binary_double,
   "date" date,
   "timestamp" timestamp,
   "integer" integer,
   "float" float);


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

[2006-03-16 21:46:57] mauroi at digbang dot com

OUCH!
at least, it is an internal development server... otherwise i would be
worried because a forgot to change username and password. sorry.

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

[2006-03-16 21:44:19] 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


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


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

Reply via email to