From 23ff318d0345c4ff7d334ad48c4710cec7e7e1db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Thu, 22 Nov 2018 11:17:55 +0200 Subject: [PATCH] MDEV-17793 follow-up: Also update SYS_VIRTUAL --- storage/innobase/handler/handler0alter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/innobase/handler/handler0alter.cc b/storage/innobase/handler/handler0alter.cc index 522f6288762..8da03522d02 100644 --- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -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) {