Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ODBC errors replace SQLPrepare() -> SQLExecDirect() #2413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NormB
Copy link
Contributor

@NormB NormB commented Apr 1, 2024

From the ODBC documentation located here: https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html

MULTI_STATEMENTS - Allow multiple statements - 67108864

Enables support for batched statements. As of 8.0.24, preparing a query with multiple statements raises an error. The direct execution of parameter-less statements prepared using the SQLPrepare() function is not supported. Multiple statements can only be executed through the SQLExecDirec() ODBC function.

From the ODBC documentation located here: https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html

MULTI_STATEMENTS - Allow multiple statements - 67108864

Enables support for batched statements. As of 8.0.24, preparing a query with multiple statements raises an error. The direct execution of parameter-less statements prepared using the SQLPrepare() function is not supported. Multiple statements can only be executed through the SQLExecDirec() ODBC function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant