Bug #12163 Insert using prepared statement causes double insert
Submitted: 25 Jul 2005 21:02 Modified: 10 Aug 2005 16:39
Reporter: Paul Bonfanti Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:1.0.4 OS:Windows (Windows XP)
Assigned to: Reggie Burnett CPU Architecture:Any

[25 Jul 2005 21:02] Paul Bonfanti
Description:
If a record is inserted using a prepared statement then it is inserted into the table twice.  Once when ExecuteReader() is called and once when reader.Close() is called.

How to repeat:
I'll attach a file that shows the problem.
[25 Jul 2005 21:04] Paul Bonfanti
The attached VJ# class can be used to reproduce the problem.

Attachment: Class1.jsl (text/plain), 3.15 KiB.

[31 Jul 2005 21:00] Jorge del Conde
I was able to reproduce this bug using the supplied test case
[10 Aug 2005 16:39] Reggie Burnett
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

Fixed in 1.0 branch