|
From: Yudhi W. <y_w...@ya...> - 2007-08-08 06:46:42
|
Dear hsqldb developers,
I am wondering about this one method, the close()
method in org/hsqldb/scriptio/ScriptWriterBase.java.
It does a flush without doing a sync, then it closes
the file. I think we should put a outDescriptor.sync()
call there. I could imagine a scenario:
- HSQLDB started after a dirty shutdown.
- new and old files deleted
- backup restored
- .script file read
- .data file read
- .log file read
- .log fil
- .script file written
-
restoreBackup();
processScript();
processDataFile();
processLog();
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
|