Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-beta1
Description
Add the following test to BinaryTupleTests:
[Test] public void TestShortAsByte() { var bytes = Build((ref BinaryTupleBuilder b) => b.AppendShort(257)); var reader = new BinaryTupleReader(bytes, 1); Assert.AreEqual(257, reader.GetByte(0)); }
The result is assertion failure "Expected: 257 But was: 1" - we get incorrect value, but there should be an exception when the data does not fit into the requested type.
Attachments
Issue Links
- blocks
-
IGNITE-18478 .NET: Thin 3.0: Add ExecuteReader to SQL API
- Resolved
- links to