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

If by mistake you give he location for the db backup as the db itself , then windows created directories recursively until windows crashes!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.1.0
    • 10.2.1.6
    • Store
    • None
    • With JDK 142 on Windows XP

    Description

      If by mistake you give he location for the db backup as the db itself , then windows created directories recursively until it crashes!

      Repro:

      CallableStatement cs = conn.prepareCall("CALL SYSCS_UTIL.SYSCS_BACKUP_DATABASE_AND_ENABLE_LOG_ARCHIVE_MODE(?, ?)");
      cs.setString(1, "c:/maildb");
      cs.setInt(2, 1);
      cs.execute();
      cs.close();

      result:

      C:\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\maildb\..................... Until windows can not show the path!!!

      Attachments

        1. derby-304.diff
          27 kB
          Suresh Thalamati

        Activity

          People

            tsuresh Suresh Thalamati
            mkutty Manjula Kutty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: