Fix Bug #13405367 - 60212 SERVER CRASH WITH CORRUPT FETCH BUFFER
rb://608 approved by Sunny Bains
This commit is contained in:
parent
eb4d3ef264
commit
771f0c61bb
@ -289,21 +289,21 @@ row_mysql_pad_col(
|
||||
/* space=0x0020 */
|
||||
pad_end = pad + len;
|
||||
ut_a(!(len % 2));
|
||||
do {
|
||||
while (pad < pad_end) {
|
||||
*pad++ = 0x00;
|
||||
*pad++ = 0x20;
|
||||
} while (pad < pad_end);
|
||||
};
|
||||
break;
|
||||
case 4:
|
||||
/* space=0x00000020 */
|
||||
pad_end = pad + len;
|
||||
ut_a(!(len % 4));
|
||||
do {
|
||||
while (pad < pad_end) {
|
||||
*pad++ = 0x00;
|
||||
*pad++ = 0x00;
|
||||
*pad++ = 0x00;
|
||||
*pad++ = 0x20;
|
||||
} while (pad < pad_end);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user