mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
C++ comments in C files are not portable.
This commit is contained in:
parent
35137c3d91
commit
aae478517d
1 changed files with 2 additions and 2 deletions
|
@ -153,12 +153,12 @@ int packfrm(const void *data, uint len,
|
||||||
if (!(blob= (struct frm_blob_struct*) my_malloc(blob_len,MYF(MY_WME))))
|
if (!(blob= (struct frm_blob_struct*) my_malloc(blob_len,MYF(MY_WME))))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
// Store compressed blob in machine independent format
|
/* Store compressed blob in machine independent format */
|
||||||
int4store((char*)(&blob->head.ver), 1);
|
int4store((char*)(&blob->head.ver), 1);
|
||||||
int4store((char*)(&blob->head.orglen), comp_len);
|
int4store((char*)(&blob->head.orglen), comp_len);
|
||||||
int4store((char*)(&blob->head.complen), org_len);
|
int4store((char*)(&blob->head.complen), org_len);
|
||||||
|
|
||||||
// Copy frm data into blob, already in machine independent format
|
/* Copy frm data into blob, already in machine independent format */
|
||||||
memcpy(blob->data, data, org_len);
|
memcpy(blob->data, data, org_len);
|
||||||
|
|
||||||
*pack_data= blob;
|
*pack_data= blob;
|
||||||
|
|
Loading…
Reference in a new issue