Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
6c6d4564
提交
6c6d4564
authored
11月 28, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
prepare release
上级
250d1812
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
1098 行增加
和
1057 行删除
+1098
-1057
changelog.html
h2/src/docsrc/html/changelog.html
+5
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+351
-339
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+351
-339
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+344
-340
Constants.java
h2/src/main/org/h2/engine/Constants.java
+2
-2
PageDataNode.java
h2/src/main/org/h2/index/PageDataNode.java
+1
-1
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+37
-26
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+6
-8
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
6c6d4564
...
@@ -18,8 +18,12 @@ Change Log
...
@@ -18,8 +18,12 @@ Change Log
<h1>
Change Log
</h1>
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
-
</li></ul>
<h2>
Version 1.1.104 (2008-11-28)
</h2>
<ul><li>
If a query that was used like a table contained group by and was ordered by an expression that
<ul><li>
If a query that was used like a table contained group by and was ordered by an expression that
is not in the column list, an exception was thrown.
is not in the column list, an exception was thrown.
</li><li>
JaQu: tables are now auto-created when running a query.
</li><li>
JaQu: tables are now auto-created when running a query.
</li><li>
The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH).
</li><li>
The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH).
A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows
A new system property h2.estimatedFunctionTableRows (default 1000) defines how many rows
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
6c6d4564
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
6c6d4564
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
6c6d4564
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
6c6d4564
...
@@ -80,7 +80,7 @@ public class Constants {
...
@@ -80,7 +80,7 @@ public class Constants {
/**
/**
* The build id is incremented for each public release.
* The build id is incremented for each public release.
*/
*/
public
static
final
int
BUILD_ID
=
10
3
;
public
static
final
int
BUILD_ID
=
10
4
;
/**
/**
* The build id of the last stable release.
* The build id of the last stable release.
...
@@ -90,7 +90,7 @@ public class Constants {
...
@@ -90,7 +90,7 @@ public class Constants {
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
*/
*/
public
static
final
String
BUILD_DATE
=
"2008-11-
07
"
;
public
static
final
String
BUILD_DATE
=
"2008-11-
28
"
;
/**
/**
* The build date is updated for each public release.
* The build date is updated for each public release.
...
...
h2/src/main/org/h2/index/PageDataNode.java
浏览文件 @
6c6d4564
...
@@ -60,7 +60,7 @@ class PageDataNode extends PageData {
...
@@ -60,7 +60,7 @@ class PageDataNode extends PageData {
index
.
getPageStore
().
writePage
(
pageId
,
data
);
index
.
getPageStore
().
writePage
(
pageId
,
data
);
}
}
void
addChild
(
int
x
,
int
childPageId
,
int
key
)
{
private
void
addChild
(
int
x
,
int
childPageId
,
int
key
)
{
int
[]
newKeys
=
new
int
[
entryCount
+
1
];
int
[]
newKeys
=
new
int
[
entryCount
+
1
];
int
[]
newChildPageIds
=
new
int
[
entryCount
+
2
];
int
[]
newChildPageIds
=
new
int
[
entryCount
+
2
];
if
(
entryCount
>
0
)
{
if
(
entryCount
>
0
)
{
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
6c6d4564
...
@@ -13,6 +13,43 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,6 +13,43 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
54
,
'New version available: 1.1.104 (beta; 2008-11-28)'
,
'2008-11-28 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
>
ResultSet
.
getObject
for
a
lob
will
return
java
.
sql
.
Clob
/
Blob
.
</
li
><
li
>
The
interface
CloseListener
has
a
new
method
'remove'
.
</
li
><
li
>
Compatibility
for
MS
SQL
Server
DATEDIFF
(
YYYY
,
..,
..)
</
li
><
li
>
The
emergency
reserve
file
has
been
removed
.
</
li
><
li
>
The
H2DatabaseProvider
for
ActiveObjects
is
now
included
.
</
li
><
li
>
The
H2Platform
for
Oracle
Toplink
Essential
has
been
improved
.
</
li
><
li
>
Build
:
JAVA_HOME
is
now
automatically
detected
on
Mac
OS
X
.
</
li
><
li
>
The
cache
memory
usage
calculation
is
more
conservative
.
</
li
><
li
>
Large
databases
on
FAT
file
system
are
now
supported
.
</
li
><
li
>
The
database
now
tries
to
detect
if
the
web
application
is
stopped
.
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
<
ul
><
li
>
Fulltext
search
:
a
memory
leak
has
been
fixed
.
</
li
><
li
>
A
query
with
group
by
that
was
used
like
a
table
could
throw
an
exception
.
</
li
><
li
>
JaQu
:
tables
are
now
auto
-
created
when
running
a
query
.
</
li
><
li
>
The
optimizer
had
problems
with
function
tables
.
</
li
><
li
>
The
function
SUM
could
overflow
when
using
large
values
.
</
li
><
li
>
The
function
AVG
could
overflow
when
using
large
values
.
</
li
><
li
>
Testing
for
local
connections
was
very
slow
on
some
systems
.
</
li
><
li
>
Allocating
space
got
slower
and
slower
the
larger
the
database
.
</
li
><
li
>
ALTER
TABLE
ALTER
COLUMN
could
throw
the
wrong
exception
.
</
li
><
li
>
Updatable
result
sets
:
the
key
columns
can
now
be
updated
.
</
li
><
li
>
The
Windows
service
to
start
H2
didn
't work in version 1.1.
</li></ul>
For details, see the '
Change
Log
' at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the '
Roadmap
' page at
http://www.h2database.com/html/roadmap.html
$$);
INSERT INTO ITEM VALUES(53,
INSERT INTO ITEM VALUES(53,
'
New
version
available
:
1
.
1
.
103
(
beta
;
2008
-
11
-
07
)
', '
2008
-
11
-
07
12
:
00
:
00
',
'
New
version
available
:
1
.
1
.
103
(
beta
;
2008
-
11
-
07
)
', '
2008
-
11
-
07
12
:
00
:
00
',
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
$$A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...
@@ -421,32 +458,6 @@ For future plans, see the 'Roadmap' page at
...
@@ -421,32 +458,6 @@ For future plans, see the 'Roadmap' page at
http
:
//
www
.
h2database
.
com
/
html
/
roadmap
.
html
http
:
//
www
.
h2database
.
com
/
html
/
roadmap
.
html
$$
);
$$
);
INSERT INTO ITEM VALUES(41,
'
New
version
available
:
1
.
0
.
71
(
2008
-
04
-
25
)
', '
2008
-
04
-
25
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
>
H2
is
now
dual
-
licensed
under
the
Eclipse
Public
License
(
EPL
)
and
the
old
''
H2
License
''
(
which
is
basically
MPL
).
</
li
><
li
>
New
traditional
Chinese
translation
.
Thanks
a
lot
to
Derek
Chao
!
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
<
ul
><
li
>
Sometimes
an
exception
''
File
ID
mismatch
''
or
''
try
to
add
a
record
twice
''
occurred
after
large
records
(
8
KB
or
larger
)
are
updated
or
deleted
.
See
also
http
:
//
code
.
google
.
com
/
p
/
h2database
/
issues
/
detail
?
id
=
22
</
li
><
li
>
H2
Console
:
The
tools
can
now
be
translated
(
it
didn
''
t
work
in
the
last
release
).
</
li
><
li
>
Indexes
were
not
used
when
enabling
the
optimization
for
IN
(
SELECT
...)
(
system
property
h2
.
optimizeInJoin
).
</
li
></
ul
>
For
details
,
see
the
''
Change
Log
''
at
http
:
//
www
.
h2database
.
com
/
html
/
changelog
.
html
<
br
/>
For
future
plans
,
see
the
''
Roadmap
''
page
at
http
:
//
www
.
h2database
.
com
/
html
/
roadmap
.
html
');
SELECT
'newsfeed-rss.xml'
FILE
,
SELECT
'newsfeed-rss.xml'
FILE
,
XMLSTARTDOC
()
||
XMLSTARTDOC
()
||
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
6c6d4564
...
@@ -292,14 +292,12 @@ don't store default values (store a special value)
...
@@ -292,14 +292,12 @@ don't store default values (store a special value)
build.sh from mac (test in Ubuntu)
build.sh from mac (test in Ubuntu)
btree: maybe split at the insertion point
btree: maybe split at the insertion point
split files (1 GB max size)
split files (1 GB max size)
add a setting (that can be changed at runtime) to call fsync and delay on each commit
add a setting (that can be changed at runtime) to call fsync
and delay on each commit
drop table emp;
drop table dept;
drop table test;
create table emp (empid integer, name varchar(255), deptid integer);
create table test(id int);
create table dept (deptid integer, dept_name varchar(255));
select id from test a natural join test b;
select * from emp natural join dept;
select deptid, name, dept_name from emp natural join dept;
(works for MySQL, PostgreSQL)
(works for MySQL, PostgreSQL)
multithreaded kernel
multithreaded kernel
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
6c6d4564
...
@@ -572,4 +572,4 @@ localization olivier hprof jps jstack qua processor casting brasilia leap
...
@@ -572,4 +572,4 @@ localization olivier hprof jps jstack qua processor casting brasilia leap
daylight vision declarative shape formula webapp catalina study impact
daylight vision declarative shape formula webapp catalina study impact
statisticlog activeobjects manske redeployment michael kaspersky datatext
statisticlog activeobjects manske redeployment michael kaspersky datatext
bleyl donald conservative offsets diabetes ansorg allocating osmond gluco
bleyl donald conservative offsets diabetes ansorg allocating osmond gluco
joachim
joachim mysqladmin sudo mysqld
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论