ID:               36643
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alien at mosfasad dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         PDO related
 Operating System: WIN2000
 PHP Version:      5.1.2
 New Comment:

Duplicate of bug #36318.


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

[2006-03-07 12:52:44] alien at mosfasad dot ru

Description:
------------
when i insert or update table with bind variable, i get bad result =(.
All values of bind variables change to last bind variable =(
___
If i use method bindParam apache crush =(
____
i take last cvs version of php, but not happened  =(
____
Windows 2000 SP4 (5.00.2195)
Apache/2.0.52 (Win32) PHP/5.1.3-dev
PDO drivers       sqlite2, sqlite, oci
OCI8              $Revision: 1.269.2.10 $
_____
php_pdo_oci8.dll - Oracle (OCI) driver for PDO(5.1.3.3)
_____

Reproduce code:
---------------
$oPdo = new PDO('oci:dbname=dinv','I3','XXXXXX');
$oStat = $oPdo->prepare("INSERT INTO REGISTRY (name, value) VALUES (?,
?)");
$oStat->execute(array('test1','test2'));

Expected result:
----------------
Table REGISTRY has new row with values:
--  | name  | value
1   |   test2 | test2

Actual result:
--------------
Table REGISTRY has new row with values:
--  | name  | value
1   |   test1 | test2


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


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

Reply via email to