mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
A fix for a bug in MyISAM with large number of NULL columns and at
least one BLOB column.
This commit is contained in:
parent
0783e5bc2f
commit
f9df0feecb
2 changed files with 4 additions and 4 deletions
|
|
@ -62,8 +62,8 @@ int _mi_write_blob_record(MI_INFO *info, const byte *record)
|
|||
|
||||
extra=ALIGN_SIZE(MI_MAX_DYN_BLOCK_HEADER)+MI_SPLIT_LENGTH+
|
||||
MI_DYN_DELETE_BLOCK_HEADER+1;
|
||||
reclength=info->s->base.pack_reclength+
|
||||
_my_calc_total_blob_length(info,record)+ extra;
|
||||
reclength= (info->s->base.pack_reclength+ info->s->base.pack_bits+
|
||||
_my_calc_total_blob_length(info,record)+ extra);
|
||||
if (reclength > MI_DYN_MAX_ROW_LENGTH)
|
||||
{
|
||||
my_errno=HA_ERR_TO_BIG_ROW;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue