db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjula Kutty (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (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!
Date Fri, 20 May 2005 18:14:53 GMT
If by mistake you give he location for the db backup as the db itself , then windows created
directories recursively until windows crashes! 
--------------------------------------------------------------------------------------------------------------------------------------------

         Key: DERBY-304
         URL: http://issues.apache.org/jira/browse/DERBY-304
     Project: Derby
        Type: Bug
  Components: Store  
    Versions: 10.1.0.0    
 Environment: With JDK 142 on Windows XP
    Reporter: Manjula Kutty
    Priority: Minor


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!!!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message