mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
[t:2811], return HA_ERR_TABLE_DEF_CHANGED in index_init when TOKUDB_MVCC_DICTIONARY_TOO_NEW
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23654 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
676bf24e5b
commit
476012e45b
1 changed files with 1 additions and 0 deletions
|
@ -4099,6 +4099,7 @@ int ha_tokudb::index_init(uint keynr, bool sorted) {
|
|||
cursor_flags = get_cursor_isolation_flags(lock.type, thd);
|
||||
if ((error = share->key_file[keynr]->cursor(share->key_file[keynr], transaction, &cursor, cursor_flags))) {
|
||||
if (error == TOKUDB_MVCC_DICTIONARY_TOO_NEW) {
|
||||
error = HA_ERR_TABLE_DEF_CHANGED;
|
||||
my_error(ER_TABLE_DEF_CHANGED, MYF(0));
|
||||
}
|
||||
table->status = STATUS_NOT_FOUND;
|
||||
|
|
Loading…
Add table
Reference in a new issue