Skip to content
Permalink
Browse files

[CONJ-750] protocol error when not setting database, indicating null …

…authentication plugin
  • Loading branch information
rusher committed Dec 13, 2019
1 parent e2e6c24 commit 87e79e0f655bc3eb3af7153417db1670b5b18f2e
@@ -173,7 +173,7 @@ public static void send(
pos.write((byte) 0);
}

if ((serverCapabilities & MariaDbServerCapabilities.CONNECT_WITH_DB) != 0) {
if ((clientCapabilities & MariaDbServerCapabilities.CONNECT_WITH_DB) != 0) {
pos.write(database);
pos.write((byte) 0);
}

0 comments on commit 87e79e0

Please sign in to comment.
You can’t perform that action at this time.