Commit 23ff318d authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-17793 follow-up: Also update SYS_VIRTUAL

parent 740ce108
......@@ -5247,6 +5247,7 @@ inline dberr_t dict_table_t::reassign_id(trx_t* trx)
"UPDATE SYS_TABLES SET ID=:new WHERE ID=:old;\n"
"UPDATE SYS_COLUMNS SET TABLE_ID=:new WHERE TABLE_ID=:old;\n"
"UPDATE SYS_INDEXES SET TABLE_ID=:new WHERE TABLE_ID=:old;\n"
"UPDATE SYS_VIRTUAL SET TABLE_ID=:new WHERE TABLE_ID=:old;\n"
"END;\n"
, FALSE, trx);
if (err == DB_SUCCESS) {
......
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