You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a problem that alter database overwrites un-altered db options
Summary:
db.opt file is always rewritten whenever any option changes. This is to fix a
problem when `alter database` changes an option, it also resets other options
to defaults. The db.opt file now also contains per db read_only options besides
charset/collation.
squash with 8194409 Per Database Read-Only
(no need for the summary)
Test Plan:
New mtr test cases in t/db_read_only.test. The problem occured for the new test
cases without this fix.
Reviewers: jtolmer, santoshb
Reviewed By: santoshb
Subscribers: webscalesql-eng
Differential Revision: https://reviews.facebook.net/D56013
0 commit comments