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

Skip to content

uninstall sql script not comprehensive #673

Closed
@ExtendHomoSapien

Description

@ExtendHomoSapien

We are using TeamCity to install and uninstall utPLSQL each testing cycle in the application owner schema.

As part of our database build, we are checking for modified objects and I noticed we are incurring leftover objects from the framework after the uninstall script is executed.

Can you please advise if this is a bug or intended behavior? I have attached my modified copy of the uninstall.sql which seems to deal with it.

Additionally: We are on version 3.0.4 of the framework but I couldn't find any bug addressed in the versions since. There also seem to be types leftover when actually executing tests (not captured in the recreation steps below).

After uninstall:
SQL> SELECT OBJECT_TYPE,COUNT(*) FROM USER_OBJECTS
2 GROUP BY OBJECT_TYPE;
SEQUENCE 1
TABLE 3
INDEX 3

To recreate:

  1. Run user creation script in /source
  2. install using install.sql
  3. uninstall using uninstall.sql
  4. run statement:
    SQL> SELECT OBJECT_TYPE,COUNT(*) FROM USER_OBJECTS
    2 GROUP BY OBJECT_TYPE;

orig.uninstall.log
uninstall.log
install.log
uninstall.sql.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions