Skip to content

Commit

Permalink
[CONJ-552] password encoding test correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Dec 12, 2017
1 parent e29fa94 commit 6b2a975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/mariadb/jdbc/PasswordEncodingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private void createUser(String charsetName, String serverCharset) throws Excepti
stmt.execute("CREATE USER 'test" + charsetName + "'@'%'");

//non jdbc method that send query according to charset
stmt.testExecute("GRANT ALL on *.* to 'test" + charsetName + "' identified by '" + exoticPwd + "'", Charset.forName(charsetName));
stmt.testExecute("GRANT ALL on *.* to 'test" + charsetName + "'@'%' identified by '" + exoticPwd + "'", Charset.forName(charsetName));
stmt.execute("FLUSH PRIVILEGES");
}
}
Expand Down

0 comments on commit 6b2a975

Please sign in to comment.