We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9f0e0 commit 7cbd2cdCopy full SHA for 7cbd2cd
src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java
@@ -59,7 +59,7 @@ public String getNodeType() {
59
}
60
61
public boolean getTls() {
62
- return this.capabilities.get("tls").getScalar().getVBool();
+ return hasCapability("tls") ? this.capabilities.get("tls").getScalar().getVBool() : false;
63
64
65
public boolean getClientPwdExpireOk() {
0 commit comments