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 syntax error in create database with read_only in comments
Summary:
With `[SUPER_]READ_ONLY` in the comment section of `create database` statement,
the create will fail with syntax error (because the comment starting with
!version is parsed). The patch fixes it by ignoring the read_only keyword.
Database shouldn't be created in read_only state.
In addition, `[SUPER_]READ_ONLY` without assignment in `alter database` is also
ignored.
Test Plan: Added regression test cases.
Reviewers: jkedgar
Reviewed By: jkedgar
Subscribers: dreif, webscalesql-eng
Differential Revision: https://reviews.facebook.net/D58353
0 commit comments