Skip to content

Conversation

@GoWebProd
Copy link

For example, if query in HandleQuery equal to:

SELECT 0 UNION SELECT 1;
SELECT 1 AS col1, 2 AS col2, 3 AS col3 UNION SELECT 4, 5, 6;

we need to return two result sets, but current realisation not allows to make it

@atercattus atercattus self-requested a review November 10, 2020 14:39
@atercattus atercattus self-assigned this Nov 10, 2020
@skoef
Copy link
Contributor

skoef commented Jun 21, 2021

I would love to see more of this PR. While I don't get how this got approved in the first place (some parts are completely irrelevant to this PR and the new function ChainResultSet is not even used), but I implemented something similar myself as well, which I like to either convert to something that could be merged upstream or could convert to whatever this PR could lead to.

Especially reading the multiple results from the wire into a chained resultset is something I would like to wrap my head around!

@dveeden
Copy link
Collaborator

dveeden commented Jan 19, 2025

@GoWebProd could you rebase this on master and/or resolve the conflicts?

@dveeden
Copy link
Collaborator

dveeden commented Jan 24, 2025

Multiple resultsets can also happen when you call stored procedures.

@GoWebProd GoWebProd closed this by deleting the head repository Aug 14, 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.

4 participants