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 MySQL multi statement support #5957

Merged

Conversation

myonlylonely
Copy link
Contributor

@myonlylonely myonlylonely commented Apr 1, 2023

Bump mysqlclient from 1.3.14 to 2.1.1, memsql from 3.0.0 to 3.2.0 to fix MySQL multi statement support.

What type of PR is this?

  • Bug Fix

Description

The version string returned from _mysql.get_client_info() is different, and is lower than 4 in the latest Docker image.
It maybe due to Maridb client connector changed their version number naming policy.
The new version of mysqlclient no longer check client version number to enable MULTI_STATEMENTS and MULTI_RESULTS flags. So updating mysqlclient to a newer version could fix the issue.
memsql also need to be updated to be compatible with new version of mysqlclient.

How is this tested?

  • Manually

Related Tickets & Documents

Fixes #5925.

@arikfr arikfr merged commit ad7d30f into getredash:master Apr 5, 2023
AkaashK pushed a commit to tharzeez/redash that referenced this pull request Jul 18, 2023
@myonlylonely myonlylonely deleted the fixing-mysql-multi-statement-support branch February 10, 2024 10:10
@myonlylonely myonlylonely restored the fixing-mysql-multi-statement-support branch February 10, 2024 10:11
@myonlylonely myonlylonely deleted the fixing-mysql-multi-statement-support branch February 10, 2024 10:12
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Jan 8, 2025
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.

The latest Docker preview image breaks MySQL that contains multiple stataments (such as set variable)
2 participants