Bug #24440 | Prepared statement with more than 4 parameters and ON DUPLICATE KEY clause fails | ||
---|---|---|---|
Submitted: | 20 Nov 2006 15:06 | Modified: | 21 Nov 2006 9:57 |
Reporter: | Gunnar Morling | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | Connctr./NET 1.0.7 | OS: | Windows (Win XP SP2) |
Assigned to: | CPU Architecture: | Any |
[20 Nov 2006 15:06]
Gunnar Morling
[21 Nov 2006 9:57]
Tonci Grgin
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 bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html Explanation: Hi Gunnar and thanks for your problem report but there is no info on NET fw version. Latest sources in branch do not exhibit the problem: Executing command QUERY with text ='INSERT INTO bug_scenario (id,column_a, column_b, column_c, column_d, column_e) VALUES (1, 'AAA', 'BBB','CCC', 'DDD', 'EEE') ON DUPLICATE KEY UPDATE column_a = 'AAA', column_b = 'BBB',column_c = 'CCC', column_d = 'DDD', column_e = 'EEE'' As for c/NET 1.0.7, verified as described by you with provided test case on - MySQL 5.0.27BK on WinXP Pro SP2 localhost - Connector/NET 1.0.8RC SVN - NET FW 2.0 Server got: 1 Prepare [1] INSERT INTO bug_scenario (id,column_a, column_b, column_c, column_d, column_e) VALUES (1, ?, ?,?, ?, ?) ON DUPLICATE KEY UPDATE column_a = ?, column_b = ?,column_c = ?, column_d = ?, column_e = ? Server returned: #HY000Incorrect arguments to mysql_stmt_execute