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

MXS-2042: fix multistatments hang #180

Merged
merged 1 commit into from Sep 11, 2018

Conversation

ybbct
Copy link
Contributor

@ybbct ybbct commented Aug 24, 2018

I am contributing the new code of the whole pull request, including one or
several files that are either new files or modified ones, under the BSD-new
license.

If enable multi statements, and all result sets returned in one packet, then it will hang;

For example

select name from t1 where id = 1; select name from t1 where id = 3; select name from t1 where id = 2

Because function modutil_count_signal_packets will return more than 2;

@markus456 markus456 self-assigned this Sep 10, 2018
@markus456
Copy link
Contributor

If you have example SQL that causes this, can you open a new bug report on Jira? This does look like it solves a bug.

We can create a test case once you've filed the bug report for this.

@markus456 markus456 self-requested a review September 10, 2018 18:23
@ybbct ybbct changed the title fix multistatments hang MXS-2042: fix multistatments hang Sep 11, 2018
@jhnwkmn jhnwkmn merged commit 087272c into mariadb-corporation:2.2 Sep 11, 2018
@ybbct ybbct deleted the fix_collect_result branch September 11, 2018 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants