Skip to content

Commit

Permalink
Fix schema_repair() more fully (#8304)
Browse files Browse the repository at this point in the history
It didn't work if it actually had any schema to repair.  Testing this
is annoying because it only comes up in the presence of bugs or patches,
basically.

It will get exercised by #8303.
  • Loading branch information
msullivan authored and deepbuzin committed Feb 18, 2025
1 parent 9cf2cfd commit af0e336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edb/server/compiler/ddl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1405,9 +1405,10 @@ def administer_repair_schema(

return dbstate.DDLQuery(
sql=sql,
user_schema=current_tx.get_user_schema_if_updated(), # type: ignore
user_schema=current_tx.get_user_schema_if_updated(),
global_schema=current_tx.get_global_schema_if_updated(),
config_ops=config_ops,
feature_used_metrics={},
)


Expand Down

0 comments on commit af0e336

Please sign in to comment.