PHP 4.0 Bug #9548 Updated: Duplicate record inserts using ODBC

From: Date: Mon, 05 Mar 2001 15:17:37 +0000
Subject: PHP 4.0 Bug #9548 Updated: Duplicate record inserts using ODBC
Groups: php.dev 
Request: Send a blank email to php-dev+get-47976@lists.php.net to get a copy of this message
ID: 9548 User Update by: arnoldg@allegheny.edu Status: Open Bug Type: MySQL related Description: Duplicate record inserts using ODBC A sample insert statement is as follows: insert into tble(tble_nme) values('my_value'); The record is inserted into the table correctly, except for the fact that it appears twice. Calls to the hybrid function odbc_exec() result in an exception, leading me to believe that it is unsupported by the MySQL ODBC driver. The same code works correctly when connecting to a Sybase SQL Anywhere 7.0 database via ODBC, so I do not believe that it is a code flaw. Previous Comments: --------------------------------------------------------------------------- [2001-03-04 13:23:27] arnoldg@allegheny.edu When using MySQL 3.23.32 (stable release), MyODBC 2.50.36, and PHP 4.0.4pl1 on Windows 98, using the odbc_prepare() and odbc_execute() function combination to insert a row into a table results in duplicate entries in the table. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9548

« previous php.dev (#47976) next »