File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,6 @@ sodaUtil.grantPrivilege=async function(){
83
83
let sql = `GRANT SODA_APP TO ${ dbconfig . user } ` ;
84
84
await connAsDBA . execute ( sql ) ;
85
85
86
- try {
87
- sql = `CREATE TABLESPACE tbs_nodesoda DATAFILE 'tbs_nodesoda.dbf' SIZE 300M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO` ;
88
- await connAsDBA . execute ( sql ) ;
89
- } catch ( err ) {
90
- // console.log(err);
91
- }
92
-
93
- sql = `ALTER USER ${ dbconfig . user } QUOTA UNLIMITED ON tbs_nodesoda container=current` ;
94
- await connAsDBA . execute ( sql ) ;
95
-
96
- sql = `ALTER USER ${ dbconfig . user } default tablespace tbs_nodesoda container=current` ;
97
- await connAsDBA . execute ( sql ) ;
98
-
99
86
} catch ( err ) {
100
87
should . not . exist ( err ) ;
101
88
}
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ testsUtil.isSodaRunnable = async function() {
125
125
126
126
if ( ( serverVersion >= 2000000000 ) && ( clientVersion < 2000000000 ) ) return false ;
127
127
128
+ if ( ! dbconfig . test . DBA_PRIVILEGE ) return false ;
129
+
128
130
return true ;
129
131
} ;
130
132
You can’t perform that action at this time.
0 commit comments