Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4866

Simplify SYSCS_BULK_INSERT with IdUtil.mkQualifiedName()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.7.1.1
    • 10.7.1.1
    • Tools
    • 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.

      Attachments

        1. d4866.diff
          0.8 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: