diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2021-01-26 14:41:23 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2021-01-26 14:41:23 +0300 |
commit | 1398160a719394cff3e7e4ee214f51375e8825a1 (patch) | |
tree | 11d28abdeeac8c0d29ae21cdf49181b9624b1045 /sql/handler.h | |
parent | e626f511f9dc4faee9ae98fb5a8c8c6ddd06679b (diff) | |
download | mariadb-git-1398160a719394cff3e7e4ee214f51375e8825a1.tar.gz |
MDEV-24522 Assertion `inited==NONE' fails upon UPDATE on versioned table with unique blob
Cause: no table->update_handler cloned at the moment of
vers_insert_history_row(). update_handler is needed because there
can't be several inited indexes at once in the same handler. First
index is inited by QUICK_RANGE_SELECT::reset(). Then when history row
is inserted check_duplicate_long_entry_key() is done and it requires
another index.
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index 0c8be2154a9..5dd3f6f5c5e 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -3191,7 +3191,7 @@ public: { cached_table_flags= table_flags(); } - /* ha_ methods: pubilc wrappers for private virtual API */ + /* ha_ methods: public wrappers for private virtual API */ int ha_open(TABLE *table, const char *name, int mode, uint test_if_locked, MEM_ROOT *mem_root= 0, List<String> *partitions_to_open=NULL); |