Derby
  1. Derby
  2. DERBY-4866

Simplify SYSCS_BULK_INSERT with IdUtil.mkQualifiedName()

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Tools
    • Labels:
      None

      Description

      SystemProcedures.SYSCS_BULK_INSERT contains this piece of code:

      String entityName = IdUtil.normalToDelimited(tableName);
      if (schemaName != null)

      { entityName = IdUtil.normalToDelimited(schemaName) + "." + entityName; }

      The helper method IdUtil.mkQualifiedName() could do the exact same in one line.

      1. d4866.diff
        0.8 kB
        Knut Anders Hatlen

        Activity

        Gavin made changes -
        Workflow jira [ 12525205 ] Default workflow, editable Closed status [ 12799760 ]
        Rick Hillegas made changes -
        Affects Version/s 10.7.1.1 [ 12315564 ]
        Affects Version/s 10.7.1.0 [ 12314971 ]
        Fix Version/s 10.7.1.1 [ 12315564 ]
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Knut Anders Hatlen made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Issue & fix info [Patch Available]
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Resolution Fixed [ 1 ]
        Knut Anders Hatlen made changes -
        Fix Version/s 10.7.1.0 [ 12314971 ]
        Affects Version/s 10.7.1.0 [ 12314971 ]
        Knut Anders Hatlen made changes -
        Issue & fix info [Patch Available]
        Knut Anders Hatlen made changes -
        Attachment d4866.diff [ 12458061 ]
        Knut Anders Hatlen made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Knut Anders Hatlen created issue -

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development