mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fixed crash introduced with change to memcpy_field_possible
This commit is contained in:
@@ -7560,7 +7560,8 @@ bool Field_varstring::memcpy_field_possible(const Field *from) const
|
||||
return (Field_str::memcpy_field_possible(from) &&
|
||||
!compression_method() == !from->compression_method() &&
|
||||
length_bytes == ((Field_varstring*) from)->length_bytes &&
|
||||
!(table->file->ha_table_flags() & HA_RECORD_MUST_BE_CLEAN_ON_WRITE));
|
||||
(table->file && !(table->file->ha_table_flags() &
|
||||
HA_RECORD_MUST_BE_CLEAN_ON_WRITE)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user