mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
MDEV-17793 follow-up: Also update SYS_VIRTUAL
This commit is contained in:
parent
740ce108a5
commit
23ff318d03
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue