Commit 35ba8427 authored by unknown's avatar unknown

Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into debian.(none):/M51/mysql-5.1

parents 04804924 aae47851
...@@ -153,12 +153,12 @@ int packfrm(const void *data, uint len, ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment