use of com.mysql.cj.NativeCharsetSettings in project aws-mysql-jdbc by awslabs.
the class NativeProtocol method beforeHandshake.
@Override
public void beforeHandshake() {
// Reset packet sequences
this.packetReader.resetMessageSequence();
// Create session state
this.serverSession = new NativeServerSession(this.propertySet);
this.serverSession.setCharsetSettings(new NativeCharsetSettings((NativeSession) this.session));
// Read the first packet
this.serverSession.setCapabilities(readServerCapabilities());
}
Aggregations