mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1
This commit is contained in:
@ -2518,7 +2518,9 @@ my_size_t THD::max_row_length_blob(TABLE *table, const byte *data) const
|
||||
for (uint *ptr= beg ; ptr != end ; ++ptr)
|
||||
{
|
||||
Field_blob* const blob= (Field_blob*) table->field[*ptr];
|
||||
length+= blob->get_length((const char *) (data + blob->offset())) + 2;
|
||||
length+= blob->get_length((const char*) (data +
|
||||
blob->offset(table->record[0]))) +
|
||||
HA_KEY_BLOB_LENGTH;
|
||||
}
|
||||
|
||||
return length;
|
||||
|
Reference in New Issue
Block a user