Commit 592a925c authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-25996 sux_lock::s_lock(): Assertion !have_s() failed on startup

dict_check_sys_tables(): Correctly advance the cursor position.
This fixes a regression that was caused by
commit 49e2c8f0 (MDEV-25743).
parent 3a566de2
...@@ -834,7 +834,7 @@ static ulint dict_check_sys_tables() ...@@ -834,7 +834,7 @@ static ulint dict_check_sys_tables()
for (const rec_t *rec = dict_startscan_system(&pcur, &mtr, for (const rec_t *rec = dict_startscan_system(&pcur, &mtr,
dict_sys.sys_tables); dict_sys.sys_tables);
rec; rec = dict_getnext_system(&pcur, &mtr)) { rec; rec = dict_getnext_system_low(&pcur, &mtr)) {
ulint len; ulint len;
table_id_t table_id; table_id_t table_id;
ulint space_id; ulint space_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment