Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
441763bb
提交
441763bb
authored
2月 02, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
efee1572
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
109 行增加
和
586 行删除
+109
-586
ant-build.properties
h2/ant-build.properties
+1
-1
build.html
h2/src/docsrc/html/build.html
+1
-1
download.html
h2/src/docsrc/html/download.html
+6
-6
mainWeb.html
h2/src/docsrc/html/mainWeb.html
+5
-5
search.html
h2/src/docsrc/html/search.html
+1
-0
sourceError.html
h2/src/docsrc/html/sourceError.html
+22
-22
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+14
-8
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+14
-490
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+10
-8
Constants.java
h2/src/main/org/h2/engine/Constants.java
+1
-2
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+33
-42
dictionary.txt
h2/src/tools/org/h2/tools/doc/dictionary.txt
+1
-1
没有找到文件。
h2/ant-build.properties
浏览文件 @
441763bb
...
...
@@ -2,6 +2,6 @@
javac
=
javac
benchmark.drivers.dir
=
C
\:
/data/java
path.servlet.jar
=
C
\:
/data/classpath/servlet-api.jar
version.name.maven
=
1.0.6
5
version.name.maven
=
1.0.6
6
path.lucene.jar
=
C
\:
/data/classpath/lucene-core-2.2.0.jar
jdk
=
1.4
h2/src/docsrc/html/build.html
浏览文件 @
441763bb
...
...
@@ -78,7 +78,7 @@ Example:
<
dependency
>
<
groupId
>
com.h2database
<
/groupId
>
<
artifactId
>
h2
<
/artifactId
>
<
version
>
1.0.6
5
<
/version
>
<
version
>
1.0.6
6
<
/version
>
<
/dependency
>
</pre>
<p>
...
...
h2/src/docsrc/html/download.html
浏览文件 @
441763bb
...
...
@@ -15,16 +15,16 @@ H2 Database Engine
<h1>
Downloads
</h1>
<h3>
Version 1.0.6
5 (2008-01-18
, Current)
</h3>
<h3>
Version 1.0.6
6 (2008-02-02
, Current)
</h3>
<p>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
1-18
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2008-0
1-18
.zip"
>
Platform-Independent Zip
</a><br
/>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
2-02
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2008-0
2-02
.zip"
>
Platform-Independent Zip
</a><br
/>
</p>
<h3>
Version 1.0.6
4 (2007-12-27
, Last Stable)
</h3>
<h3>
Version 1.0.6
5 (2008-01-18
, Last Stable)
</h3>
<p>
<a
href=
"http://www.h2database.com/h2-setup-200
7-12-27
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-200
7-12-27
.zip"
>
Platform-Independent Zip
</a><br
/>
<a
href=
"http://www.h2database.com/h2-setup-200
8-01-18
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-200
8-01-18
.zip"
>
Platform-Independent Zip
</a><br
/>
</p>
<h3>
Download Mirror and Older Versions
</h3>
...
...
h2/src/docsrc/html/mainWeb.html
浏览文件 @
441763bb
...
...
@@ -31,17 +31,17 @@ Welcome to H2, the free SQL database. The main feature of H2 are:
<table
style=
"border: 0px; margin: 5px; background-color: #eee;"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<h3>
Download
</h3>
Version 1.0.6
5 (2008-01-18
):
Version 1.0.6
6 (2008-02-02
):
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
1-18
.exe"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
2-02
.exe"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
1-18
.exe"
>
Windows Installer (2.9 MB)
</a>
<a
href=
"http://www.h2database.com/h2-setup-2008-0
2-02
.exe"
>
Windows Installer (2.9 MB)
</a>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-2008-0
1-18
.zip"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-2008-0
2-02
.zip"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-2008-0
1-18
.zip"
>
All platforms (zip, 4.0 MB)
</a>
<a
href=
"http://www.h2database.com/h2-2008-0
2-02
.zip"
>
All platforms (zip, 4.0 MB)
</a>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<a
href=
"download.html"
>
All Downloads
</a>
...
...
h2/src/docsrc/html/search.html
浏览文件 @
441763bb
...
...
@@ -65,6 +65,7 @@ Initial Developer: H2 Group
<a
href=
"datatypes.html"
target=
"main"
>
Data Types
</a><br
/>
<a
href=
"../javadoc/index.html"
target=
"main"
>
Javadoc JDBC API
</a><br
/>
<a
href=
"../h2.pdf"
target=
"_blank"
>
Documentation as PDF
</a><br
/>
<a
href=
"sourceError.html"
target=
"main"
>
Error Analyzer
</a><br
/>
<br
/>
<b>
Appendix
</b><br
/>
<a
href=
"build.html"
target=
"main"
>
Build
</a><br
/>
...
...
h2/src/docsrc/html/sourceError.html
浏览文件 @
441763bb
...
...
@@ -31,7 +31,7 @@ input {
<script
type=
"text/javascript"
>
//
<!--
function
$
(
id
)
{
function
get
(
id
)
{
return
document
.
getElementById
(
id
);
}
...
...
@@ -46,12 +46,12 @@ function goDetails(code) {
code
=
code
.
replace
(
'HY'
,
'50'
);
code
=
code
.
replace
(
'C'
,
'1'
);
code
=
code
.
replace
(
'T'
,
'2'
);
$
(
'more'
).
src
=
'http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c'
+
code
;
get
(
'more'
).
src
=
'http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c'
+
code
;
}
function
go
(
file
,
line
)
{
var
url
;
if
(
$
(
'rawSource'
).
checked
==
true
)
{
if
(
get
(
'rawSource'
).
checked
==
true
)
{
url
=
"source.html?file="
;
url
+=
file
;
url
+=
"&line="
;
...
...
@@ -72,13 +72,13 @@ function go(file, line) {
url
+=
'#'
;
url
+=
line
;
}
$
(
'file'
).
innerHTML
=
file
;
$
(
'code'
).
src
=
url
;
get
(
'file'
).
innerHTML
=
file
;
get
(
'code'
).
src
=
url
;
}
function
convert
()
{
try
{
var
s
=
$
(
'error'
).
value
;
var
s
=
get
(
'error'
).
value
;
if
(
lastError
==
s
)
{
return
;
}
...
...
@@ -87,18 +87,18 @@ function convert() {
hasData
=
false
;
var
idx
=
s
.
lastIndexOf
(
"["
);
if
(
idx
>=
0
)
{
$
(
'message'
).
innerHTML
=
s
.
substring
(
0
,
idx
);
get
(
'message'
).
innerHTML
=
s
.
substring
(
0
,
idx
);
var
end
=
s
.
indexOf
(
"]"
,
idx
);
errorCode
=
s
.
substring
(
idx
+
1
,
end
);
hasData
=
true
;
idx
=
errorCode
.
indexOf
(
"-"
);
build
=
errorCode
.
substring
(
idx
+
1
);
$
(
'version'
).
innerHTML
=
'1.0.'
+
build
;
get
(
'version'
).
innerHTML
=
'1.0.'
+
build
;
errorCode
=
errorCode
.
substring
(
0
,
idx
);
while
(
errorCode
.
length
>
1
&&
errorCode
.
charAt
(
0
)
==
'0'
)
{
errorCode
=
errorCode
.
substring
(
1
);
}
$
(
'errorCode'
).
innerHTML
=
errorCode
;
get
(
'errorCode'
).
innerHTML
=
errorCode
;
goDetails
(
errorCode
);
s
=
s
.
substring
(
end
+
1
);
}
...
...
@@ -139,7 +139,7 @@ function convert() {
}
result
=
result
.
replace
(
/
[\n\r]
+/g
,
"<br/>"
);
result
=
result
.
replace
(
/ at /g
,
""
);
$
(
'links'
).
innerHTML
=
result
;
get
(
'links'
).
innerHTML
=
result
;
select
(
'input'
);
}
catch
(
e
)
{
hasData
=
false
;
...
...
@@ -149,14 +149,14 @@ function convert() {
}
function
select
(
id
)
{
$
(
'input'
).
style
.
display
=
'none'
;
$
(
'details'
).
style
.
display
=
'none'
;
$
(
'source'
).
style
.
display
=
'none'
;
$
(
'inputTab'
).
className
=
''
;
$
(
'detailsTab'
).
className
=
hasData
?
''
:
'disabled'
;
$
(
'sourceTab'
).
className
=
hasData
?
''
:
'disabled'
;
$
(
id
+
'Tab'
).
className
=
'selected'
;
$
(
id
).
style
.
display
=
''
;
get
(
'input'
).
style
.
display
=
'none'
;
get
(
'details'
).
style
.
display
=
'none'
;
get
(
'source'
).
style
.
display
=
'none'
;
get
(
'inputTab'
).
className
=
''
;
get
(
'detailsTab'
).
className
=
hasData
?
''
:
'disabled'
;
get
(
'sourceTab'
).
className
=
hasData
?
''
:
'disabled'
;
get
(
id
+
'Tab'
).
className
=
'selected'
;
get
(
id
).
style
.
display
=
''
;
if
(
id
==
'details'
)
{
goDetails
(
errorCode
);
}
...
...
@@ -165,12 +165,12 @@ function select(id) {
function
sizeTextArea
()
{
var
height
=
document
.
body
.
clientHeight
;
var
error
=
$
(
'error'
);
var
error
=
get
(
'error'
);
error
.
style
.
height
=
(
height
-
error
.
offsetTop
-
25
)
+
'px'
;
var
more
=
$
(
'more'
);
var
more
=
get
(
'more'
);
more
.
style
.
height
=
(
height
-
more
.
offsetTop
-
25
)
+
'px'
;
var
code
=
$
(
'code'
);
code
.
style
.
height
=
(
height
-
$
(
'sourceTable'
).
offsetTop
-
code
.
offsetTop
-
30
)
+
'px'
;
var
code
=
get
(
'code'
);
code
.
style
.
height
=
(
height
-
get
(
'sourceTable'
).
offsetTop
-
code
.
offsetTop
-
30
)
+
'px'
;
}
//-->
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
441763bb
...
...
@@ -950,7 +950,7 @@ The conversion between UTF-8 and Java encoding (using the \u syntax), as well as
Downloads
@download_1001_h3
Version 1.0.6
5 (2008-01-18
, Current)
Version 1.0.6
6 (2008-02-02
, Current)
@download_1002_a
Windows Installer
...
...
@@ -959,7 +959,7 @@ Windows Installer
Platform-Independent Zip
@download_1004_h3
Version 1.0.6
4 (2007-12-27
, Last Stable)
Version 1.0.6
5 (2008-01-18
, Last Stable)
@download_1005_a
Windows Installer
...
...
@@ -2602,6 +2602,9 @@ lumber-mill.co.jp, Japan
@history_1033_li
Oliver Computing LLC, USA
@history_1034_li
Harpal Grover, USA
@installation_1000_h1
Installation
...
...
@@ -3065,7 +3068,7 @@ JDBC and (partial) ODBC API; Web Client application
Download
@mainWeb_1007_td
Version 1.0.6
5 (2008-01-18
):
Version 1.0.6
6 (2008-02-02
):
@mainWeb_1008_a
Windows Installer (2.9 MB)
...
...
@@ -4510,19 +4513,22 @@ Javadoc JDBC API
@search_1014_a
Documentation as PDF
@search_1015_b
@search_1015_a
Error Analyzer
@search_1016_b
Appendix
@search_101
6
_a
@search_101
7
_a
Build
@search_101
7
_a
@search_101
8
_a
History and Roadmap
@search_101
8
_a
@search_101
9
_a
FAQ and Known Bugs
@search_10
19
_a
@search_10
20
_a
License
@sourceError_1000_h1
...
...
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
441763bb
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
441763bb
...
...
@@ -315,10 +315,10 @@ build_1032_li=Error messages\: src/main/org/h2/res/_messages_*.properties
build_1033_li
=
Web site
\:
src/docsrc/text/_docs_*.utf8.txt
build_1034_p
=
The conversion between UTF-8 and Java encoding (using the
\\
u syntax), as well as the HTML entities (&
\#
..;) is automated by running the tool PropertiesToUTF8. The web site translation is automated as well, using <code>ant docs</code> .
download_1000_h1
=
Downloads
download_1001_h3
=
Version 1.0.6
5 (2008-01-18
, Current)
download_1001_h3
=
Version 1.0.6
6 (2008-02-02
, Current)
download_1002_a
=
Windows Installer
download_1003_a
=
Platform-Independent Zip
download_1004_h3
=
Version 1.0.6
4 (2007-12-27
, Last Stable)
download_1004_h3
=
Version 1.0.6
5 (2008-01-18
, Last Stable)
download_1005_a
=
Windows Installer
download_1006_a
=
Platform-Independent Zip
download_1007_h3
=
Download Mirror and Older Versions
...
...
@@ -866,6 +866,7 @@ history_1030_li=Jun Iyama, Japan
history_1031_li
=
Antonio Casqueiro, Portugal
history_1032_li
=
lumber-mill.co.jp, Japan
history_1033_li
=
Oliver Computing LLC, USA
history_1034_li
=
Harpal Grover, USA
installation_1000_h1
=
Installation
installation_1001_a
=
Requirements
installation_1002_a
=
Supported Platforms
...
...
@@ -1020,7 +1021,7 @@ mainWeb_1003_li=Written Java; can be compiled with GCJ (Linux)
mainWeb_1004_li
=
Embedded, Server and Cluster modes
mainWeb_1005_li
=
JDBC and (partial) ODBC API; Web Client application
mainWeb_1006_h3
=
Download
mainWeb_1007_td
=
Version 1.0.6
5 (2008-01-18
)
\:
mainWeb_1007_td
=
Version 1.0.6
6 (2008-02-02
)
\:
mainWeb_1008_a=Windows Installer (2.9 MB)
mainWeb_1009_a
=
All platforms (zip, 4.0 MB)
mainWeb_1010_a
=
All Downloads
...
...
@@ -1502,11 +1503,12 @@ search_1011_a=Functions
search_1012_a
=
Data Types
search_1013_a
=
Javadoc JDBC API
search_1014_a
=
Documentation as PDF
search_1015_b
=
Appendix
search_1016_a
=
Build
search_1017_a
=
History and Roadmap
search_1018_a
=
FAQ and Known Bugs
search_1019_a
=
License
search_1015_a
=
Error Analyzer
search_1016_b
=
Appendix
search_1017_a
=
Build
search_1018_a
=
History and Roadmap
search_1019_a
=
FAQ and Known Bugs
search_1020_a
=
License
sourceError_1000_h1
=
Online Error Analyzer
sourceError_1001_a
=
Input
sourceError_1002_h2
=
<a href
\=
"javascript
\:
select('details')"
id
\=
"detailsTab">Details</a> <a href
\=
"javascript
\:
select('source')"
id
\=
"sourceTab">Source Code</a>
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
441763bb
...
...
@@ -61,7 +61,6 @@ package org.h2.engine;
* - Scan for viruses
* - ant mavenDeployCentral
* - Upload to SourceForge
* - Newsletter: send without 'to unsubscribe...' to h2database-news@googlegroups.com
* - Newsletter: prepare, send (always send to BCC!!)
* - Add to freshmeat
* - Upload to http://code.google.com/p/h2database/downloads/list
...
...
@@ -72,7 +71,7 @@ package org.h2.engine;
*/
public
class
Constants
{
public
static
final
int
BUILD_ID
=
6
5
;
public
static
final
int
BUILD_ID
=
6
6
;
private
static
final
String
BUILD
=
"2008-01-18"
;
public
static
final
int
VERSION_MAJOR
=
1
;
public
static
final
int
VERSION_MINOR
=
0
;
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
441763bb
...
...
@@ -10,6 +10,39 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
36
,
'New version available: 1.0.66 (2008-02-02)'
,
'2008-02-02 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click
''
Refresh
''
).
<br />
<b>Changes and new functionality:</b>
<ul><li>New tool: <a href="http://www.h2database.com/html/sourceError.html">Online Error Analyzer</a>.
</li><li>In the H2 Console, errors now link to the docs and source code.
</li><li>IKVM (www.ikvm.net) is now better supported.
</li><li>The exception
''
Value too long for column
''
now includes the data.
</li><li>Statements that contain very large subqueries are now faster.
</li><li>Fulltext search is now supported in named in-memory databases.
</li><li>Primary keys can now have a constraint name.
</li><li>Calling EXTRACT(HOUR FROM ...) returned the wrong values.
Please check if your application relies on the old behavior before upgrading.
</li><li>The meta data compatibility with other databases has been improved.
</li></ul>
<b>Bugfixes:</b>
<ul><li>CHAR data type equals comparison was wrong.
</li><li>The table name was missing in the documentation of CREATE INDEX.
</li><li>The cache memory usage calculation has been improved.
</li><li>The exception "Hex string contains non-hex character" was not thrown.
</li><li>The acting as PostgreSQL server, a base directory was not set correctly.
</li><li>Variables: large objects now work correctly.
</li><li>H2 Console: multiple consecutive spaces in the setting name did not work.
</li></ul>
For details, see the
''
Change Log
''
at
http://groups.google.com/group/h2-database/web/change-log
<br />
For future plans, see the
''
Roadmap
''
page at
http://groups.google.com/group/h2-database/web/roadmap
'
);
INSERT
INTO
ITEM
VALUES
(
35
,
'New version available: 1.0.65 (2008-01-18)'
,
'2008-01-18 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...
...
@@ -306,48 +339,6 @@ Some unit tests failed on Linux because the file system works differently.
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
INSERT
INTO
ITEM
VALUES
(
26
,
'New version available: 1.0 / 2007-08-02'
,
'2007-08-02 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click
''
Refresh
''
).
<br />
<b>Changes and new functionality:</b>
<ul>
</li><li>H2 databases can now be accessed using the PostgreSQL ODBC driver.
</li><li>The old H2 ODBC driver has been removed.
</li><li>Function REGEXP_REPLACE and regular expression LIKE: REGEXP.
</li><li>CREATE TABLE ... AS SELECT now needs less memory.
</li><li>The per session undo log can now be disabled.
</li><li>Referential integrity can now be disabled.
</li><li>To avoid memory problems when using large transactions,
h2.defaultMaxMemoryUndo is now 50000.
</li><li>DEFAULT_MAX_LENGTH_INPLACE_LOB is now 1024.
</li><li>The cache size is now measured in KB.
</li><li>Optimization for NOT, boolean columns, and certain joins.
</li><li>Part of the documentation has been translated to Japanese.
</li><li>The error messages (src/main/org/h2/res/_*.*) can now be translated.
</li><li>A new tool to help translation has been implemented
</li><li>The SysTray tool has been removed.
</ul>
<b>Bugfixes:</b>
<ul>
</li><li>Running out of memory while inserting could corrupt the database.
</li><li>Some Unicode characters where not supported as identifiers.
</li><li>H2 Console: The shutdown button works again.
</li><li>LOBs were not backed up using the BACKUP statement or tool when
h2.lobFilesInDirectories was enabled.
</li><li>Calculation of cache memory usage has been improved.
</li><li>In some situations records were released from the cache too late.
</li><li>Documentation: the source code in
''
Compacting a Database
''
was incorrect.
</li><li>Result set in the H2 Console can now be modified again.
</li><li>Views using UNION did not work correctly.
</li><li>Function tables did not work with views and EXPLAIN.
</li>
</ul>
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
SELECT
'newsfeed-rss.xml'
FILE
,
XMLSTARTDOC
()
||
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
...
...
h2/src/tools/org/h2/tools/doc/dictionary.txt
浏览文件 @
441763bb
...
...
@@ -523,4 +523,4 @@ thousands ridvan incremented slots debugging inherit agar fulvio invisible biond
turkish fulfils iapi filesync
compares packets destroying echo homed hosts clock countries validated catches turning staging kills distance morning performs internationalization simulator constructed nicer
echo callablestatement procid homed getstart staging prices meantime qujd qujdra qui divided quaere restrictions hudson scoped design inverting newlines
violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm light gray viewer
violate verysmallint eremainder iee cgi adjust estimation consumption occupy ikvm light gray viewer
grover harpal
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论