Bug #21659 | Multiple Row Insert Fails | ||
---|---|---|---|
Submitted: | 15 Aug 2006 19:24 | Modified: | 17 Aug 2006 17:19 |
Reporter: | Sami Aref | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51.12 | OS: | Windows (Windows 2000) |
Assigned to: | CPU Architecture: | Any |
[15 Aug 2006 19:24]
Sami Aref
[15 Aug 2006 19:27]
Sami Aref
odbctest executable and input file
Attachment: odbctest.zip (application/x-zip-compressed, text), 157.08 KiB.
[16 Aug 2006 0:24]
MySQL Verification Team
Thank you for the bug report. I was able to repeat using your compiled binary test case, however could you please provide the complete code of your odbctest.exe for further analyze. Thanks in advance. C:\tmp>odbctest.exe Copyright (C) MicroStrategy Incorporated, 2006 version: 1.1 Enter the input file (incl. full path): input.txt Enter the output file (incl. full path): out.txt 1. DSN=mytest;UID=root;PWD=; <Driver Connection Test> SQLAllocEnv ... ok SQLAllocConnect ... ok SQL_QUIET_MODE ... supported SQL_LOGIN_TIMEOUT ... supported SQLDriverConnect ... ok SQL_DBMS_NAME = MySQL SQL_DBMS_VERSION = 5.0.24-community-nt SQL_DRIVER_VERSION = 03.51.12 <Driver Connection Test> completed <Async Mode Test> Asynchronous connection ... ok <Async Connection Test> completed <Bulk Insert Test> CREATE TABLE BULKTEST1 (COLA INT, COLB INT) Successfully INSERT INTO BULKTEST1 VALUES (123, 456) Successfully CREATE TABLE BULKTEST2 (COLA INT, COLB INT) Successfully SELECT * FROM BULKTEST1 123 456 INSERT INTO BULKTEST2 VALUES (?,?) SELECT * FROM BULKTEST2 123 456 Bulk Insert ... ok <Insertion of Multiple Rows Test> Message: [MySQL][ODBC 3.51 Driver][mysqld-5.0.24-community-nt]Unknown table 'bulktest' Create table BULKTEST(COLA INT) successfully INSERT INTO BULKTEST VALUES(?) ^C C:\tmp>
[16 Aug 2006 9:31]
Tonci Grgin
Hi Sami, can you pleaes do as Miguel requested and provide the complete code of your odbctest.exe? Also, can you try to upgrade to 3.51.12 and see if problem persists?
[16 Aug 2006 17:20]
Sami Aref
Corrected version from 3.51.10 to 3.51.12
[16 Aug 2006 17:29]
Sami Aref
Sorry, the MYODBC version was indeed 3.51.12 Code is uploaded, please let me know if you have any questions. Thanks alot
[17 Aug 2006 6:00]
Tonci Grgin
Sami, thanks.
[17 Aug 2006 7:55]
Tonci Grgin
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug. Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/ Thank you for your interest in MySQL. Explanation: Sami, I don't see how this can be a bug! Please see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcbinding_arra... and compare with your code.
[17 Aug 2006 16:38]
Tonci Grgin
After writing correct test case (which also fails) and consultation with connector team this seems not to be supported.
[17 Aug 2006 17:19]
Sami Aref
thanks for the help, Any info if this issue will be resolved in the next MyODBC release?
[17 Aug 2006 17:54]
Tonci Grgin
Sami, as far as I understand, this is not only connector but server issue too... I'm sorry but there's no definite answer to your question.