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

Re-use the bulk-import mechanism to support the TRUNCATE command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • SQL
    • Normal

    Description

      Re-using the bulk-import code to support TRUNCATE will increase our confidence in TRUNCATE. In addition, the bulk-import code will allow TRUNCATE to succeed in the following edge case, which currently raises an exception:

      o The truncated table is referenced by a foreign key
      o But there are no rows in the referencing table

      See the discussion on the related DERBY-268 issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: