[#4617] NullPointerException when calling UniqueKey.getReferences() in MySQL

This commit is contained in:
lukaseder 2015-10-08 09:32:02 +02:00
parent b2322bfcb1
commit bb0613167b

View File

@ -519,8 +519,8 @@ class MetaImpl implements Meta, Serializable {
);
Map<Record, Result<Record>> groups = result.intoGroups(new Field[] {
result.field(0),
result.field(1),
result.field(inverseSchemaCatalog ? 1 : 0),
result.field(inverseSchemaCatalog ? 0 : 1),
result.field(2),
result.field(11),
result.field(12),
@ -701,8 +701,8 @@ class MetaImpl implements Meta, Serializable {
);
Map<Record, Result<Record>> groups = result.intoGroups(new Field[] {
result.field(4),
result.field(5),
result.field(inverseSchemaCatalog ? 5 : 4),
result.field(inverseSchemaCatalog ? 4 : 5),
result.field(6),
result.field(11),
result.field(12),