Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50f71f0

Browse files
committed
Merge branch 'version3' into feature/color_reporter
2 parents bf73441 + 8366919 commit 50f71f0

62 files changed

Lines changed: 580 additions & 368 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis/create_utplsql_owner.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
22
set -ev
33

4+
cd $(dirname "$(readlink -f "$0")")
45
#create user
56
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL
67
set echo off
7-
@@$(dirname "$(readlink -f "$0")")/create_utplsql_owner.sql $UT3_OWNER $UT3_OWNER_PASSWORD $UT3_OWNER_TABLESPACE
8+
@@create_utplsql_owner.sql $UT3_OWNER $UT3_OWNER_PASSWORD $UT3_OWNER_TABLESPACE
89
SQL

.travis/create_utplsql_owner.sql

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ define ut3_user = &1
99
define ut3_password = &2
1010
define ut3_tablespace = &3
1111

12-
create user &ut3_user identified by &ut3_password default tablespace &ut3_tablespace quota unlimited on &ut3_tablespace;
13-
14-
grant create session, create procedure, create type, create table, create synonym to &ut3_user;
15-
16-
grant execute on dbms_pipe to &ut3_user;
17-
grant create job to &ut3_user;
18-
19-
grant alter session to &ut3_user;
12+
@@../source/create_utplsql_owner.sql &&ut3_user &&ut3_password &&ut3_tablespace
2013

2114
--only needed to run unit tests for utplsql v3, not required to run utplsql v3 itself
2215
grant select any dictionary to &ut3_user;

.travis/create_utplsql_user.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
22
set -ev
33

4+
cd $(dirname "$(readlink -f "$0")")
45
#create user
56
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL
67
set echo off
7-
@@$(dirname "$(readlink -f "$0")")/create_utplsql_user.sql $UT3_USER $UT3_USER_PASSWORD $UT3_USER_TABLESPACE
8+
@@create_utplsql_user.sql $UT3_USER $UT3_USER_PASSWORD $UT3_USER_TABLESPACE
89
SQL

.travis/grant_user.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
set -ev
44

5-
cd client_source
5+
cd source
66
#grant framework user
77
"$ORACLE_HOME/bin/sqlplus" -L -S / AS SYSDBA <<SQL
8-
@grant_user.sql $UT3_OWNER $UT3_USER
9-
SQL
8+
@create_synonyms_and_grants_for_user.sql $UT3_OWNER $UT3_USER
9+
SQL

.travis/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set -ev
44

55
cd source
66
#install core of utplsql
7-
"$ORACLE_HOME/bin/sqlplus" $UT3_OWNER/$UT3_OWNER_PASSWORD @install.sql
7+
"$ORACLE_HOME/bin/sqlplus" $UT3_OWNER/$UT3_OWNER_PASSWORD @install.sql $UT3_OWNER
88

99

1010
cd ..
11-
cd build
11+
cd development
1212
#do style check
1313
"$ORACLE_HOME/bin/sqlplus" $UT3_OWNER/$UT3_OWNER_PASSWORD @utplsql_style_check.sql
1414

client_source/grant_public.sql

Lines changed: 0 additions & 47 deletions
This file was deleted.

client_source/grant_user.sql

Lines changed: 0 additions & 48 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)