Bug #115539 | Commands out of sync when running LOAD DATA LOCAL INFILE | ||
---|---|---|---|
Submitted: | 8 Jul 2024 9:12 | Modified: | 9 Jul 2024 13:42 |
Reporter: | Manuel Matonin | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Jul 2024 9:12]
Manuel Matonin
[8 Jul 2024 9:17]
MySQL Verification Team
Hi Mr. Matonin, Thank you for your bug report. However, this is a forum for the bug with repeatable test cases. Hence, we would be grateful if you can upload the CSV file, which is missing in your bug report. Please, use "Files" tab to upload a file. Thanks in advance.
[8 Jul 2024 10:51]
Manuel Matonin
The issue reported is about the non-existing file "_test.csv", that is, to reproduce the error the file must not exist.
[8 Jul 2024 14:55]
MySQL Verification Team
HI Mr. Matonin, What you reported is not a bug. Simply, CLIENT_MULTI_RESULTS or CLIENT_MULTI_STATEMENTS can only be used with CALL() SQL query command that calls stored routines. This is all documented in our Reference Manual.
[9 Jul 2024 7:42]
Manuel Matonin
Hi AI, Please read carefully the initial description in the bug report and existing documentation: https://dev.mysql.com/doc/c-api/8.0/en/c-api-multiple-queries.html API mysql_query() should not generate "Commands out of sync" error when local file does not exist.
[9 Jul 2024 13:42]
MySQL Verification Team
Hi Mr. Matonin, We actually wrote our own program and tested it on 8.0.38 and 8.4.1. In our program , no error was reported what so ever. Hence it is affecting latest 8.0, 8.4 and 9.0. Hence , this is even more severe bug than the one you reported. Verified as reported. Thank you .....