Bug #98816 | Syntax error while using array inserts | ||
---|---|---|---|
Submitted: | 3 Mar 2020 15:45 | Modified: | 7 May 2020 11:28 |
Reporter: | Jean-Christophe Voogden | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 8.0.19 | OS: | Windows |
Assigned to: | CPU Architecture: | x86 |
[3 Mar 2020 15:45]
Jean-Christophe Voogden
[4 May 2020 10:07]
MySQL Verification Team
Thank you for the bug report. Please provide a complete test case (database SQL script, client program C file, real result print and expected result). Thanks.
[4 May 2020 14:51]
Jean-Christophe Voogden
Test case
Attachment: arrays.c (text/plain), 4.29 KiB.
[4 May 2020 14:56]
Jean-Christophe Voogden
Sorry for the delay. The attached test case is self contained and work correctly with odbc driver 8.0.18 and below but fails with odbc driver 8.0.19. The test program assumes a anonymous local connection to the "test" database, with proper privileges. The program is build using Microsoft Visual Studio 2017 compiler, in 32bits.
[4 May 2020 15:15]
Jean-Christophe Voogden
As a side note, it also fails with the 64-bit driver
[5 May 2020 8:09]
Jean-Christophe Voogden
Precisions : the problem also occurs with version 8.0.20. It seems related to the desactivation of server-side prepared statements (no_ssps=1 in DSN).
[5 May 2020 9:40]
Jean-Christophe Voogden
Precisions : the problem also occurs with version 8.0.20. It seems related to the desactivation of server-side prepared statements (no_ssps=1 in DSN).
[6 May 2020 16:51]
MySQL Verification Team
Thank you for the feedback.
[7 May 2020 11:28]
Bogdan Degtyariov
Posted by developer: I was able to repeat this problem with the ODBC driver version 8.0.20, but since then the ODBC received a patch addressing a similar issue. With this patched version the inserts worked as expected. The fix should be published in the version 8.0.21. Closing the bug.
[19 May 2020 15:50]
Ola Mårtensson
Is it possible to somehow get a pre-release version of 8.0.21 of the ODBC Driver, for testing if this fix resolves a very similar issue that we are seeing?