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

The supplied link is for php4. I think you made a mistake.
Tell me if i'm wrong. Thanks.


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

[2006-03-16 22:41:13] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

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

[2006-03-16 21:53:58] mauroi at digbang dot com

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);

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

[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