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

MCOL-5852: GROUP_CONCAT memory accounting and disk based version #3425

Open
wants to merge 23 commits into
base: develop
Choose a base branch
from

Conversation

mariadb-AlexeyAntipovsky
Copy link
Contributor

No description provided.

@mariadb-AlexeyAntipovsky
Copy link
Contributor Author

I'll add some tests a bit later

@mariadb-LeonidFedorov mariadb-LeonidFedorov changed the title Fix/mcol 5852 part2 MCOL-5852: GROUP_CONCAT memory accounting and disk based version Mar 18, 2025
/* buf.fCurOutPtr points to the data to send; ByteStream guarantees that there
are at least 12 bytes before that for the magic & length fields */
realBuf = (uint32_t*)msg.buf();
realBuf -= 3;
realBuf[0] = magic;
realBuf[1] = msglen;
realBuf[2] = longStrings.size();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose you can remove this.

bs >> fTimeZone;
}

class OrderByRow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name overlap with the class that is used by ORDER BY, so you should name it differently IMHO.
After this patch we can move both this sorting structs together with idborderby* into a specialized dir for a healty housekeeping.

Copy link
Collaborator

@drrtuy drrtuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a call on this. I am missing how did you replace LongStrings functionality removed from BS.

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.

2 participants