提交 13537d10 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 3cccfb9f
......@@ -22,6 +22,8 @@ Initial Developer: H2 Group
} else if (key == 'build') {
if (value == 64) {
tag = 'tags/version-1.0.' + value;
} else if (value >= 100) {
tag = 'tags/version-1.1.' + value + '/h2';
} else if (value >= 63) {
tag = 'tags/version-1.0.' + value + '/h2';
}
......
......@@ -40,7 +40,7 @@ function get(id) {
var lastError = '';
var hasData = false;
var errorCode = '0';
var build = '';
var build = 100;
function goDetails(code) {
code = code.replace('21S', '210');
......@@ -64,6 +64,8 @@ function go(file, line) {
var tag = 'trunk/h2';
if (build == 64) {
tag = 'tags/version-1.0.' + build;
} else if (build >= 100) {
tag = 'tags/version-1.1.' + build + '/h2';
} else if (build >= 63) {
tag = 'tags/version-1.0.' + build + '/h2';
}
......@@ -94,8 +96,8 @@ function convert() {
errorCode = s.substring(idx + 1, end);
hasData = true;
idx = errorCode.indexOf("-");
build = errorCode.substring(idx + 1);
get('version').innerHTML = '1.0.' + build;
build = parseInt(errorCode.substring(idx + 1));
get('version').innerHTML = (build < 100 ? '1.0.' : '1.1.') + build;
errorCode = errorCode.substring(0, idx);
while (errorCode.length > 1 && errorCode.charAt(0) == '0') {
errorCode = errorCode.substring(1);
......
......@@ -22,7 +22,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<ul><li>In version H2 1.1, some features are now enabled by default.
</li><li>New auto-reconnect feature.
To enable, append ;AUTO_RECONNECT=TRUE to the database URL.
<ul><li>The H2 Console tool now works with the JDBC-ODBC bridge.
</li><li>The H2 Console tool now works with the JDBC-ODBC bridge.
</li><li>The H2 Console tool now supports command line options.
</li><li>The h2console.war can now be built using the Java build.
</li><li>If you want that each connection opens its own database, append
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论