提交 2c0d4cd8 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 97210392
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>SQL railroad diagrams: improved images for people with black background settings. <ul><li>Executing a CSVREAD query multiple times could result in an exception if the data was changed on disk.
</li><li>SQL railroad diagrams: improved images for people with black background settings.
</li><li>Build-in documentation search: improved results if searching for multiple words. </li><li>Build-in documentation search: improved results if searching for multiple words.
</li><li>DatabaseMetaData.getColumns: there is a typo in the JDBC specification, so that the column #19 is named </li><li>DatabaseMetaData.getColumns: there is a typo in the JDBC specification, so that the column #19 is named
SCOPE_CATLOG instead of SCOPE_CATALOG. For compatibility with the specification, this column is now also SCOPE_CATLOG instead of SCOPE_CATALOG. For compatibility with the specification, this column is now also
......
...@@ -558,6 +558,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -558,6 +558,8 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Single-column primary key values are always stored explicitly. This is not required. </li><li>Single-column primary key values are always stored explicitly. This is not required.
</li><li>Compatibility with MySQL: support CREATE TABLE TEST(NAME VARCHAR(255) CHARACTER SET UTF8). </li><li>Compatibility with MySQL: support CREATE TABLE TEST(NAME VARCHAR(255) CHARACTER SET UTF8).
</li><li>CALL is incompatible with other databases because it returns a result set, so that CallableStatement.execute() returns true. </li><li>CALL is incompatible with other databases because it returns a result set, so that CallableStatement.execute() returns true.
</li><li>Opimization for large lists for column IN(1, 2, 3, 4,...) - currently an list is used, could potentially use a hash set
(maybe only for a part of the values - the ones that can be evaluated).
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -9,30 +9,35 @@ Initial Developer: H2 Group ...@@ -9,30 +9,35 @@ Initial Developer: H2 Group
</head> </head>
<script type="text/javascript"> <script type="text/javascript">
// <!-- // <!--
var line = 0, file = '';
var params = location.search.substring(1).split('&'); function getVersion(build) {
var tag = 'trunk/h2'; if (build == 64) {
for (var i = 0; i<params.length; i++) { return '1.0.' + build;
var k = params[i].split('='); } else if (build >= 146 && build != 147) {
var key = k[0], value = k[1]; return '1.3.' + build;
if (key == 'line') { } else if (build >= 120) {
line = value; return '1.2.' + build;
} else if (key == 'file') { } else if (build >= 100) {
file = value; return '1.1.' + build;
} else if (key == 'build') {
if (value == 64) {
tag = 'tags/version-1.0.' + value;
} else if (value == 146 (value >= 148 && value <= 151)) {
tag = 'tags/version-1.3.' + build + '/h2';
} else if (value >= 120) {
tag = 'tags/version-1.2.' + value + '/h2';
} else if (value >= 100) {
tag = 'tags/version-1.1.' + value + '/h2';
} else if (value >= 63) {
tag = 'tags/version-1.0.' + value + '/h2';
}
}
} }
return '1.0.' + build;
}
var line = 0, file = '';
var params = location.search.substring(1).split('&');
var tag = 'trunk/h2';
for (var i = 0; i<params.length; i++) {
var k = params[i].split('=');
var key = k[0], value = k[1];
if (key == 'line') {
line = value;
} else if (key == 'file') {
file = value;
} else if (key == 'build') {
tag = 'tags/version-' + getVersion(value) + '/h2';
}
}
// --> // -->
</script> </script>
<pre> <pre>
......
...@@ -37,6 +37,19 @@ input { ...@@ -37,6 +37,19 @@ input {
<script type="text/javascript"> <script type="text/javascript">
//<!-- //<!--
function getVersion(build) {
if (build == 64) {
return '1.0.' + build;
} else if (build >= 146 && build != 147) {
return '1.3.' + build;
} else if (build >= 120) {
return '1.2.' + build;
} else if (build >= 100) {
return '1.1.' + build;
}
return '1.0.' + build;
}
function get(id) { function get(id) {
return document.getElementById(id); return document.getElementById(id);
} }
...@@ -65,18 +78,7 @@ function go(file, line) { ...@@ -65,18 +78,7 @@ function go(file, line) {
url += "&build="; url += "&build=";
url += build; url += build;
} else { } else {
var tag = 'trunk/h2'; var tag = 'trunk/h2/tags/version-' + getVersion(build) + '/h2';
if (build == 64) {
tag = 'tags/version-1.0.' + build;
} else if (build == 146 || (build >= 148 && build <= 151)) {
tag = 'tags/version-1.3.' + build + '/h2';
} else if (build >= 120) {
tag = 'tags/version-1.2.' + build + '/h2';
} else if (build >= 100) {
tag = 'tags/version-1.1.' + build + '/h2';
} else if (build >= 63) {
tag = 'tags/version-1.0.' + build + '/h2';
}
url = 'http://code.google.com/p/h2database/source/browse/'; url = 'http://code.google.com/p/h2database/source/browse/';
url += tag; url += tag;
url += '/src/main/'; url += '/src/main/';
...@@ -105,7 +107,7 @@ function convert() { ...@@ -105,7 +107,7 @@ function convert() {
hasData = true; hasData = true;
idx = errorCode.indexOf("-"); idx = errorCode.indexOf("-");
build = parseInt(errorCode.substring(idx + 1)); build = parseInt(errorCode.substring(idx + 1));
get('version').innerHTML = (build < 100 ? '1.0.' : (build < 120 ? '1.1.' : '1.2.')) + build; get('version').innerHTML = getVersion(build);
errorCode = errorCode.substring(0, idx); errorCode = errorCode.substring(0, idx);
while (errorCode.length > 1 && errorCode.charAt(0) == '0') { while (errorCode.length > 1 && errorCode.charAt(0) == '0') {
errorCode = errorCode.substring(1); errorCode = errorCode.substring(1);
......
...@@ -677,4 +677,4 @@ trouble designed decouple reflectively skeletons retention reflective validates ...@@ -677,4 +677,4 @@ trouble designed decouple reflectively skeletons retention reflective validates
clip upgrades demonstrate inspectors clip upgrades demonstrate inspectors
exceed identities differentiate inherited tracks notated strip suggestions exceed identities differentiate inherited tracks notated strip suggestions
registration sanity improperly annotate inheritance composite inspected registration sanity improperly annotate inheritance composite inspected
hurt imposes marshal policy hurt imposes marshal policy upgrader
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论