cleanup: remove unused handler table flag
This commit is contained in:
parent
b3e3356557
commit
c697ddc315
@ -195,7 +195,7 @@ enum enum_alter_inplace_result {
|
||||
#define HA_HAS_NEW_CHECKSUM (1ULL << 38)
|
||||
#define HA_CAN_VIRTUAL_COLUMNS (1ULL << 39)
|
||||
#define HA_MRR_CANT_SORT (1ULL << 40)
|
||||
#define HA_RECORD_MUST_BE_CLEAN_ON_WRITE (1ULL << 41)
|
||||
#define HA_RECORD_MUST_BE_CLEAN_ON_WRITE (1ULL << 41) /* unused */
|
||||
|
||||
/*
|
||||
This storage engine supports condition pushdown
|
||||
|
@ -955,12 +955,7 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
|
||||
be overwritten by fill_record() anyway (and fill_record() does not
|
||||
use default values in this case).
|
||||
*/
|
||||
#ifdef HAVE_valgrind
|
||||
if (table->file->ha_table_flags() && HA_RECORD_MUST_BE_CLEAN_ON_WRITE)
|
||||
restore_record(table,s->default_values); // Get empty record
|
||||
else
|
||||
#endif
|
||||
table->record[0][0]= share->default_values[0];
|
||||
table->record[0][0]= share->default_values[0];
|
||||
|
||||
/* Fix undefined null_bits. */
|
||||
if (share->null_bytes > 1 && share->last_null_bit_pos)
|
||||
|
Loading…
x
Reference in New Issue
Block a user