551
551
uint32 size= ((Field_blob*) cur_table->field[*cur_blob])->get_length();
553
563
Check size of buffer to ensure data fits in the buffer. If it does
554
564
not fit, create new blob_buffer object.
556
566
if ((size + META_SIZE) <= buf.size)
559
569
((Field_blob*) cur_table->field[*cur_blob])->get_ptr((uchar **)&ptr);
560
570
memcpy((byte *)buf.data + META_SIZE, ptr, size);
561
571
buf.size = size + META_SIZE;