Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.6
-
None
-
None
-
Windows 7 32-bit application using Visual Studio Express 2012
Description
Using the libmysql client you can unpack a dynamic column using mariadb_dyncol_unpack(), but the data returned in the column_keys and values needs to be freed after use. It is not documented how to do this (i.e. which free function to call) but neither free(), HeapFree() or mariadb_dyncol_free() works. Looking at the code, sf_malloc is used to allocate the data but I can's see a corresponding function that will free data using sf_free().
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Oleksandr Byelkin [ sanja ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.0.8 [ 14200 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Sergei Golubchik [ serg ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Fix Version/s | 10.0.9 [ 14400 ] | |
Fix Version/s | 10.0.8 [ 14200 ] |
Fix Version/s | 10.0.10 [ 14500 ] | |
Fix Version/s | 10.0.9 [ 14400 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Summary | Can't free data retruned by mariadb_dyncol_unpack on windows | Can't free data returned by mariadb_dyncol_unpack on windows |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 30637 ] | MariaDB v2 [ 42982 ] |
Workflow | MariaDB v2 [ 42982 ] | MariaDB v3 [ 62012 ] |
Workflow | MariaDB v3 [ 62012 ] | MariaDB v4 [ 147311 ] |
As far as I understand, you should use my_free() for this.