Skip to content

Commit ce402b9

Browse files
phulakundahlerlend
authored andcommitted
WL#7167 - Change DDL to update rows for view columns in DD.COLUMNS and other dependent values
This is a post push patch to add gtid state update guard while updating view status(Valid/Invalid).
1 parent e8e8c9d commit ce402b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/dd/dd_view.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,8 @@ bool update_view_status(THD *thd, const char *schema_name,
679679
dd::Properties *view_options= &new_view->options();
680680
view_options->set_bool("view_valid", status);
681681

682+
Disable_gtid_state_update_guard disabler(thd);
683+
682684
// Update DD tables.
683685
if (thd->dd_client()->update(&view, new_view.get()))
684686
{

0 commit comments

Comments
 (0)