Skip to content

Conversation

@TCeason
Copy link
Contributor

@TCeason TCeason commented Oct 30, 2025

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

  • Advertise CLIENT_SESSION_TRACK so the server side negotiates session state with modern clients.
  • Ensure write_ok_packet always length-encodes the info field when session tracking, CLIENT_DEPRECATE_EOF, or 0xFE OK headers are used, avoiding MySQL JDBC payload mismatches.
  • Add coverage that captures raw OK packets across capability combinations to assert the expected encoding.

      - Advertise CLIENT_SESSION_TRACK so the server side negotiates session state with modern clients.
      - Ensure write_ok_packet always length-encodes the info field when session tracking, CLIENT_DEPRECATE_EOF, or 0xFE OK headers are used, avoiding MySQL JDBC payload mismatches.
      - Add coverage that captures raw OK packets across capability combinations to assert the expected encoding.
@TCeason TCeason marked this pull request as draft October 30, 2025 06:58
@TCeason TCeason closed this Oct 31, 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.

1 participant