Use ?nullNamePatternMatchesAll=true with mysql 6.0.6

Bug: Issue 7331
Change-Id: I69ad0dd126df23680b7381252ce859c35da56ac7
This commit is contained in:
Paladox none
2017-10-03 10:15:25 +00:00
parent c97b234c47
commit 9510bf1833

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();
}