Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a498cd2c
提交
a498cd2c
authored
9月 16, 2007
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
5cb9b378
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
53 行增加
和
11 行删除
+53
-11
ant-build.properties
h2/ant-build.properties
+1
-1
download.html
h2/src/docsrc/html/download.html
+3
-3
history.html
h2/src/docsrc/html/history.html
+2
-2
mainWeb.html
h2/src/docsrc/html/mainWeb.html
+5
-5
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+38
-0
PrepareTranslation.java
h2/src/tools/org/h2/tools/i18n/PrepareTranslation.java
+4
-0
没有找到文件。
h2/ant-build.properties
浏览文件 @
a498cd2c
...
...
@@ -2,5 +2,5 @@
benchmark.drivers.dir
=
C
\:
/data/java
javac
=
javac
path.servlet.jar
=
C
\:
/data/classpath/servlet-api.jar
version.name.maven
=
1.0.5
7
version.name.maven
=
1.0.5
8
jdk
=
1.4
h2/src/docsrc/html/download.html
浏览文件 @
a498cd2c
...
...
@@ -15,10 +15,10 @@ H2 Database Engine
<h1>
Downloads
</h1>
<h3>
Version 1.0.5
7 (2008-08-2
5, Current)
</h3>
<h3>
Version 1.0.5
8 (2007-09-1
5, Current)
</h3>
<p>
<a
href=
"http://www.h2database.com/h2-setup-2007-0
8-2
5.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2007-0
8-2
5.zip"
>
Platform-Independent Zip
</a><br
/>
<a
href=
"http://www.h2database.com/h2-setup-2007-0
9-1
5.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2007-0
9-1
5.zip"
>
Platform-Independent Zip
</a><br
/>
</p>
<h3>
Version 1.0 / 2007-03-04 (Last Stable)
</h3>
...
...
h2/src/docsrc/html/history.html
浏览文件 @
a498cd2c
...
...
@@ -39,7 +39,7 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
<h3>
Version 1.0 (Current)
</h3>
<h3>
Version 1.0.
x (2007-09-x
)
</h3><ul>
<h3>
Version 1.0.
58 (2007-09-15
)
</h3><ul>
<li>
System.exit is no longer called by the WebServer, the Console and the Server tool
(except to set the exit code if required). This is important when using OSGi.
</li><li>
Optimization for independent subqueries. For example, this query can now an index:
...
...
@@ -74,7 +74,7 @@ Hypersonic SQL or HSQLDB. H2 is built from scratch.
</li><li>
A database can now be opened even if class of a user defined function is not in the classpath.
Trying to call the function will throws an exception.
</li><li>
User defined functions and constants may not overload built-in functions and constants.
This didn't work before, but now trying to create such an object
didn't
fail.
This didn't work before, but now trying to create such an object
will
fail.
</li><li>
Improved MultiDimension tool (for spatial queries): in the last few releases the tool was actually
slower than using a regular query (because index lookup got faster, and because the tool didn't
support prepared statements) Now the tool generates prepared statements,
...
...
h2/src/docsrc/html/mainWeb.html
浏览文件 @
a498cd2c
...
...
@@ -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.5
7 (2007-08-2
5):
Version 1.0.5
8 (2007-09-1
5):
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-setup-2007-0
8-02
.exe"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-setup-2007-0
9-15
.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-2007-0
8-2
5.exe"
>
Windows Installer (2.7 MB)
</a>
<a
href=
"http://www.h2database.com/h2-setup-2007-0
9-1
5.exe"
>
Windows Installer (2.7 MB)
</a>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-2007-0
8-02
.zip"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-2007-0
9-15
.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-2007-0
8-2
5.zip"
>
All platforms (zip, 3.8 MB)
</a>
<a
href=
"http://www.h2database.com/h2-2007-0
9-1
5.zip"
>
All platforms (zip, 3.8 MB)
</a>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<a
href=
"download.html"
>
All Downloads
</a>
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
a498cd2c
...
...
@@ -10,6 +10,44 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
28
,
'New version available: 1.0.58 (2007-09-15)'
,
'2007-09-15 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>Empty space in the database files is now better reused
</li><li>The database file sizes now increased in smaller blocks
</li><li>Optimization for independent subqueries
</li><li>Improved explain plan
</li><li>Maven 2: new version are now automatically synced
</li><li>The version (build) number is now included in the manifest file.
</li><li>The default value for MAX_MEMORY_UNDO is now 100000
</li><li>Improved MultiDimension tool (for spatial queries)
</li><li>New method DatabaseEventListener.opened
</li><li>Optimization for COLUMN IN(.., NULL)
</li><li>Oracle compatibility for SYSDATE and CHR
</li><li>System.exit is no longer called by the WebServer
</li></ul>
<b>Bugfixes:</b>
<ul><li>About 230 bytes per database was leaked
</li><li>Using spaces in column and table aliases did not always work
</li><li>In some systems, SecureRandom.generateSeed is very slow
</li><li>Console: better support for Internet Explorer
</li><li>A database can now be opened even if user class is missing
</li><li>User defined functions may not overload built-in functions
</li><li>Adding a foreign key failed when the reference contained NULL
</li><li>For PgServer, character encoding other than UTF-8 did not work
</li><li>When using IFNULL, NULLIF, COALESCE, LEAST, or GREATEST,
and the first parameter was ?, an exception was thrown
</li><li>When comparing TINYINT or SMALLINT columns, the index was not used
</li><li>The documentation indexer does no longer index Japanese pages
</li><li>Using a function in a GROUP BY expression did not always work
</li></ul>
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
INSERT
INTO
ITEM
VALUES
(
27
,
'New version available: 1.0.57 (2007-08-25)'
,
'2007-08-25 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...
...
h2/src/tools/org/h2/tools/i18n/PrepareTranslation.java
浏览文件 @
a498cd2c
...
...
@@ -116,6 +116,10 @@ public class PrepareTranslation {
html
=
StringUtils
.
replaceAll
(
html
,
"lang=\""
+
MAIN_LANGUAGE
+
"\""
,
"lang=\""
+
language
+
"\""
);
for
(
int
j
=
0
;
j
<
fileNames
.
size
();
j
++)
{
String
n
=
(
String
)
fileNames
.
get
(
j
);
if
(
"frame"
.
equals
(
n
))
{
// don't translate 'frame.html' to 'frame_ja.html', otherwise we can't switch back to English
continue
;
}
html
=
StringUtils
.
replaceAll
(
html
,
n
+
".html\""
,
n
+
"_"
+
language
+
".html\""
);
}
html
=
StringUtils
.
replaceAll
(
html
,
"_"
+
MAIN_LANGUAGE
+
".html\""
,
".html\""
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论