[MXS-1580] Invalid handling of BIT values Created: 2017-12-14  Updated: 2017-12-14  Resolved: 2017-12-14

Status: Closed
Project: MariaDB MaxScale
Component/s: avrorouter
Affects Version/s: 2.1.12
Fix Version/s: 2.1.13

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

Even though the values of a BIT field aren't extracted, the number of bytes needs to be calculated correctly. The field size calculation is not correct and can cause a crash when BIT values are mixed with other values.



 Comments   
Comment by markus makela [ 2017-12-14 ]

The bytes in the event metadata contain the complete length of the byte. This is the only thing that needs to be used to calculate how many bytes a BIT value uses.

Generated at Thu Feb 08 04:07:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.