-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the support of the CREATE ROLE expression (#17)
- Loading branch information
Showing
7 changed files
with
1,059 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- Tags: no-parallel | ||
|
||
CREATE ROLE r1_01293; | ||
CREATE ROLE r1_01293 SETTINGS NONE; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage=5000000; | ||
CREATE ROLE r4_01293 SETTINGS max_memory_usage MIN=5000000; | ||
CREATE ROLE r5_01293 SETTINGS max_memory_usage MAX=5000000; | ||
CREATE ROLE r6_01293 SETTINGS max_memory_usage CONST; | ||
CREATE ROLE r7_01293 SETTINGS max_memory_usage WRITABLE; | ||
CREATE ROLE r8_01293 SETTINGS max_memory_usage=5000000 MIN 4000000 MAX 6000000 CONST; | ||
CREATE ROLE r9_01293 SETTINGS PROFILE 'default', max_memory_usage=5000000 WRITABLE; | ||
CREATE ROLE r1_01293, r2_01293; | ||
CREATE ROLE r1_01293 SETTINGS readonly=1; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage=5000000 MIN 4000000 MAX 6000000 WRITABLE; | ||
CREATE ROLE r4_01293 SETTINGS PROFILE 'default', max_memory_usage=5000000, readonly=1; | ||
CREATE ROLE r5_01293 SETTINGS NONE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
-- Origin SQL: | ||
-- Tags: no-parallel | ||
|
||
CREATE ROLE r1_01293; | ||
CREATE ROLE r1_01293 SETTINGS NONE; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage=5000000; | ||
CREATE ROLE r4_01293 SETTINGS max_memory_usage MIN=5000000; | ||
CREATE ROLE r5_01293 SETTINGS max_memory_usage MAX=5000000; | ||
CREATE ROLE r6_01293 SETTINGS max_memory_usage CONST; | ||
CREATE ROLE r7_01293 SETTINGS max_memory_usage WRITABLE; | ||
CREATE ROLE r8_01293 SETTINGS max_memory_usage=5000000 MIN 4000000 MAX 6000000 CONST; | ||
CREATE ROLE r9_01293 SETTINGS PROFILE 'default', max_memory_usage=5000000 WRITABLE; | ||
CREATE ROLE r1_01293, r2_01293; | ||
CREATE ROLE r1_01293 SETTINGS readonly=1; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage=5000000 MIN 4000000 MAX 6000000 WRITABLE; | ||
CREATE ROLE r4_01293 SETTINGS PROFILE 'default', max_memory_usage=5000000, readonly=1; | ||
CREATE ROLE r5_01293 SETTINGS NONE; | ||
|
||
-- Format SQL: | ||
CREATE ROLE r1_01293; | ||
CREATE ROLE r1_01293 SETTINGS NONE; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage 5000000; | ||
CREATE ROLE r4_01293 SETTINGS max_memory_usage MIN 5000000; | ||
CREATE ROLE r5_01293 SETTINGS max_memory_usage MAX 5000000; | ||
CREATE ROLE r6_01293 SETTINGS max_memory_usage CONST; | ||
CREATE ROLE r7_01293 SETTINGS max_memory_usage WRITABLE; | ||
CREATE ROLE r8_01293 SETTINGS max_memory_usage 5000000 MIN 4000000 MAX 6000000 CONST; | ||
CREATE ROLE r9_01293 SETTINGS PROFILE 'default', max_memory_usage 5000000 WRITABLE; | ||
CREATE ROLE r1_01293, r2_01293; | ||
CREATE ROLE r1_01293 SETTINGS readonly 1; | ||
CREATE ROLE r2_01293 SETTINGS PROFILE 'default'; | ||
CREATE ROLE r3_01293 SETTINGS max_memory_usage 5000000 MIN 4000000 MAX 6000000 WRITABLE; | ||
CREATE ROLE r4_01293 SETTINGS PROFILE 'default', max_memory_usage 5000000, readonly 1; | ||
CREATE ROLE r5_01293 SETTINGS NONE; |
Oops, something went wrong.