mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix replace bug w/ BDB tables by passing key_length to index_read_idx.
This commit is contained in:
@ -366,7 +366,8 @@ int write_record(TABLE *table,COPY_INFO *info)
|
||||
}
|
||||
key_copy((byte*) key,table,key_nr,0);
|
||||
if ((error=(table->file->index_read_idx(table->record[1],key_nr,
|
||||
(byte*) key,0,
|
||||
(byte*) key,
|
||||
table->key_info[key_nr].key_length,
|
||||
HA_READ_KEY_EXACT))))
|
||||
goto err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user