Details
-
Task
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
Description
The DYNAMIC_ARRAY type ( defined in my_sys.h with code in mysys/array.c ) is still used in hundreds of places in the code, especially in C code which obviously does not have easy access to standard C++ classes.
However, the testing of this code is indirect testing of DYNAMIC_ARRAY as integrated in the other code.
By contrast, the DYNAMIC_STRING has unittest/mysys/dynstring-t.c which shows basic usage and tests for basic correctness.
The absence of a similar test for DYNAMIC_ARRAY seems like an oversight.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Labels | beginner-friendly |
Assignee | Sergei Golubchik [ serg ] |
Fix Version/s | 11.8 [ 29921 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Sergei Golubchik [ serg ] | Daniel Black [ danblack ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
issue.field.resolutiondate | 2024-12-20 00:09:01.0 | 2024-12-20 00:09:01.038 |
Component/s | Tests [ 10800 ] | |
Component/s | N/A [ 14411 ] | |
Fix Version/s | 11.8.1 [ 29961 ] | |
Fix Version/s | 11.8 [ 29921 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |