Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
This commit is contained in:
commit
7c625dc5bc
@ -4220,9 +4220,11 @@ void Field_blob::get_key_image(char *buff,uint length)
|
||||
char *blob;
|
||||
if ((uint32) length > blob_length)
|
||||
{
|
||||
#ifdef HAVE_purify
|
||||
/*
|
||||
Must clear this as we do a memcmp in opt_range.cc to detect
|
||||
identical keys
|
||||
*/
|
||||
bzero(buff+2+blob_length, (length-blob_length));
|
||||
#endif
|
||||
length=(uint) blob_length;
|
||||
}
|
||||
int2store(buff,length);
|
||||
|
Loading…
x
Reference in New Issue
Block a user