Merge "Use ?nullNamePatternMatchesAll=true with mysql 6.0.6" into stable-2.15

This commit is contained in:
Dave Borowitz
2017-10-03 10:55:21 +00:00
committed by Gerrit Code Review

View File

@@ -41,6 +41,8 @@ class MySql extends BaseDataSourceType {
b.append(port(dbs.optional("port")));
b.append("/");
b.append(dbs.required("database"));
// See https://stackoverflow.com/questions/42084633/table-name-pattern-can-not-be-null-or-empty-in-java
b.append("?nullNamePatternMatchesAll=true");
return b.toString();
}