Commit 116909c4 authored by unknown's avatar unknown

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

into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new

parents b67566c2 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