Derby
  1. Derby
  2. DERBY-3339

APP schema is always owned by APP regardless of the database owner

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: None
    • Component/s: SQL
    • Urgency:
      Low
    • Issue & fix info:
      Repro attached

      Description

      Every schema in a newly created database should be owned by the database owner since APP may not be a valid user.

      ij> connect 'jdbc:derby:cs;create=true;user="djd@acme.org"';

      ij> select CAST(schemaname AS VARCHAR(15)) AS SCHEMANAME,
      CAST (authorizationid AS VARCHAR(15)) AS AUTHORIZATIONID from sys.sysschemas;
      SCHEMANAME |AUTHORIZATIONID
      -------------------------------
      SYSIBM |djd@acme.org
      SYS |djd@acme.org
      SYSCAT |djd@acme.org
      SYSFUN |djd@acme.org
      SYSPROC |djd@acme.org
      SYSSTAT |djd@acme.org
      NULLID |djd@acme.org
      SQLJ |djd@acme.org
      SYSCS_DIAG |djd@acme.org
      SYSCS_UTIL |djd@acme.org
      APP |APP

        Activity

        Hide
        Tiago R. Espinha added a comment -

        Triaged for 10.5.2.

        Assigned low urgency and repro attached.

        Show
        Tiago R. Espinha added a comment - Triaged for 10.5.2. Assigned low urgency and repro attached.

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel John Debrunner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development