Bug #96633 Change unit tests to use a proper buffer for field null values
Submitted: 23 Aug 2019 10:12 Modified: 27 Aug 2019 10:25
Reporter: Jon Olav Hauglid Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.19 OS:Any
Assigned to: CPU Architecture:Any

[23 Aug 2019 10:12] Jon Olav Hauglid
Currently our Field unit tests often use one buffer for storing values and a separate buffer for storing null.
This makes future refactorings (e.g. changing how both values and null are stored) more difficult as it is
different from how Fields work in the server.

We should instead have Fields in unit tests use the same buffer for both values and null.

How to repeat:
[27 Aug 2019 10:25] Paul DuBois
Posted by developer:
Fixed in 8.0.19.

Work was done for test suite. No changelog entry required.