Skip to content

Conversation

@bgrainger
Copy link
Member

Based on #1494.

rusher and others added 2 commits July 15, 2024 12:31
for MariaDB since 15.1 (https://jira.mariadb.org/browse/MDEV-31609) followed session variables are sent in initial OK_Packet. This permits to avoids  initial query SET NAMES command, since charset is really know, defaulting to server corresponding default collation.

Signed-off-by: rusher <diego.dupin@gmail.com>
Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
@bgrainger bgrainger force-pushed the avoid-set-names branch 2 times, most recently from 2db1bd4 to ef40088 Compare July 17, 2024 03:43
Move mutable properties back to ServerSession.

Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
This is still tracked as an Int32 internally so there seems to be no need to log it as an Int64.

Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
This avoids an unnecessary small allocation per ServerSession.

Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
Signed-off-by: Bradley Grainger <bgrainger@gmail.com>
@bgrainger bgrainger merged commit aeaf900 into master Jul 17, 2024
@bgrainger bgrainger deleted the avoid-set-names branch July 17, 2024 06:02
@bgrainger
Copy link
Member Author

Fixed in 2.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants