提交 79d36f3e authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 9b9e3f1e
...@@ -39,8 +39,11 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch. ...@@ -39,8 +39,11 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>Version 1.0 (Current)</h3> <h3>Version 1.0 (Current)</h3>
<h3>Version 1.0.59 (2007-09-TODO)</h3><ul> <h3>Version 1.0.59 (2007-10-03)</h3><ul>
<li>Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed. <li>When the data type was unknown in a subquery, sometimes the wrong exception (ArrayIndexOutOfBounds) was thrown. Fixed.
</li><li>If the process was killed while the database was running, sometimes the database could not be opened
('double allocation') except when the system property h2.check was set to false. Fixed.
</li><li>Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
</li><li>A PreparedStatement that was cancelled could not be reused. Fixed. </li><li>A PreparedStatement that was cancelled could not be reused. Fixed.
</li><li>H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow). </li><li>H2 Console: Progress information when logging into a H2 embedded database (useful when opening a database is slow).
</li><li>When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed. </li><li>When the database was closed while logging was disabled (LOG 0), re-opening the database was slow. Fixed.
......
...@@ -70,8 +70,8 @@ import org.h2.constant.SysProperties; ...@@ -70,8 +70,8 @@ import org.h2.constant.SysProperties;
*/ */
public class Constants { public class Constants {
public static final int BUILD_ID = 58; public static final int BUILD_ID = 59;
private static final String BUILD = "2007-09-15"; private static final String BUILD = "2007-10-03";
public static final int VERSION_MAJOR = 1; public static final int VERSION_MAJOR = 1;
public static final int VERSION_MINOR = 0; public static final int VERSION_MINOR = 0;
......
...@@ -859,24 +859,6 @@ public class DiskFile implements CacheWriter { ...@@ -859,24 +859,6 @@ public class DiskFile implements CacheWriter {
return comp; return comp;
} }
}); });
// RedoLogRecord last = null;
// for (int i = 0; i < redoBuffer.size(); i++) {
// RedoLogRecord entry = (RedoLogRecord) redoBuffer.get(i);
// if (entry.data != null) {
// continue;
// }
// if (last != null && entry.recordId != last.recordId) {
// writeRedoLog(last);
// }
// last = entry;
// }
// if (last != null) {
// writeRedoLog(last);
// }
int test;
// first write all deleted entries // first write all deleted entries
RedoLogRecord last = null; RedoLogRecord last = null;
for (int i = 0; i < redoBuffer.size(); i++) { for (int i = 0; i < redoBuffer.size(); i++) {
...@@ -892,7 +874,7 @@ int test; ...@@ -892,7 +874,7 @@ int test;
if (last != null) { if (last != null) {
writeRedoLog(last); writeRedoLog(last);
} }
// now write the last entry, skipping the deleted entries // now write the last entry, skipping deleted entries
last = null; last = null;
for (int i = 0; i < redoBuffer.size(); i++) { for (int i = 0; i < redoBuffer.size(); i++) {
RedoLogRecord entry = (RedoLogRecord) redoBuffer.get(i); RedoLogRecord entry = (RedoLogRecord) redoBuffer.get(i);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论