Skip to content

Commit 25c8706

Browse files
committed
Added tests, changed exception
1 parent 2186982 commit 25c8706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r2dbc-mysql/src/main/java/io/asyncer/r2dbc/mysql/codec/BooleanCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Boolean decode(ByteBuf value, MySqlReadableMetadata metadata, Class<?> ta
6565
}
6666
return createFromBigInteger(new BigInteger(s));
6767
}
68-
throw new R2dbcNonTransientResourceException("The value '" + s + "' of type '" + dataType +
68+
throw new R2dbcNonTransientResourceException("The value '" + s + "' of type '" + dataType +
6969
"' cannot be encoded into a Boolean.", "22018");
7070
}
7171

0 commit comments

Comments
 (0)