Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
152e4944
提交
152e4944
authored
7月 15, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improved docs.
上级
27d7b7d3
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
16 行增加
和
14 行删除
+16
-14
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+6
-6
TestMemoryUsage.java
h2/src/test/org/h2/test/db/TestMemoryUsage.java
+5
-3
TestRights.java
h2/src/test/org/h2/test/db/TestRights.java
+1
-1
TestMvcc1.java
h2/src/test/org/h2/test/mvcc/TestMvcc1.java
+1
-1
TestSynth.java
h2/src/test/org/h2/test/synth/sql/TestSynth.java
+1
-1
CheckTextFiles.java
h2/src/tools/org/h2/build/code/CheckTextFiles.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
152e4944
...
...
@@ -52,7 +52,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<
br
/>
<
b
>
Changes
and
new
functionality
:
</
b
>
<
ul
><
li
>
Java
1
.
5
is
now
required
to
run
H2
.
</
li
><
li
>
Fulltext
search
:
D
ata
is
no
longer
deleted
and
</
li
><
li
>
Fulltext
search
:
d
ata
is
no
longer
deleted
and
re
-
inserted
if
there
was
no
change
.
</
li
><
li
>
Microsoft
Windows
:
when
using
the
the
installer
,
Vista
wrote
"This program may not have installed correctly."
...
...
@@ -113,7 +113,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<
ul
><
li
>
MERGE
now
returns
0
as
the
generated
on
update
.
</
li
><
li
>
A
file
system
implementation
can
now
be
registered
.
</
li
><
li
>
The
database
file
system
is
no
longer
included
.
</
li
><
li
>
EclipseLink
:
A
dded
H2Platform
.
supportsIdentity
().
</
li
><
li
>
EclipseLink
:
a
dded
H2Platform
.
supportsIdentity
().
</
li
><
li
>
Connection
pool
:
the
login
timeout
is
now
5
minutes
.
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
...
...
@@ -231,7 +231,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
</li><li>The DbStarter now closes all connections to the configured database.
</li><li>Improved exception message when connecting to a just started server fails.
</li><li>Connection.isValid is a bit faster.
</li><li>H2 Console:
T
he autocomplete feature has been improved a bit.
</li><li>H2 Console:
t
he autocomplete feature has been improved a bit.
</li><li>When restarting a web application in Tomcat, an exception was thrown sometimes.
The root cause of the problem is now documented in the FAQ.
</li></ul>
...
...
@@ -287,8 +287,8 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
<
b
>
Changes
and
new
functionality
:
</
b
>
<
ul
><
li
>
The
license
change
a
bit
:
so
far
the
license
was
modified
to
say
'Swiss law'
.
This
is
now
changed
back
to
the
original
'US law'
.
</
li
><
li
>
CREATE
DOMAIN
:
B
uilt
-
in
data
types
can
now
only
be
changed
if
no
tables
exist
.
</
li
><
li
>
DatabaseMetaData
.
getPrimaryKeys
:
T
he
column
PK_NAME
now
contains
the
</
li
><
li
>
CREATE
DOMAIN
:
b
uilt
-
in
data
types
can
now
only
be
changed
if
no
tables
exist
.
</
li
><
li
>
DatabaseMetaData
.
getPrimaryKeys
:
t
he
column
PK_NAME
now
contains
the
constraint
name
instead
of
the
index
name
(
compatibility
for
PostgreSQL
and
Derby
).
</
li
></
ul
>
<
b
>
Bugfixes
:
</
b
>
...
...
@@ -320,7 +320,7 @@ $$A new version of H2 is available for <a href="http://www.h2database.com">downl
</
li
><
li
>
Natural
join
:
the
joined
columns
are
not
repeated
any
more
.
</
li
><
li
>
MySQL
compatibility
:
support
for
:
=
assignment
.
</
li
><
li
>
INSERT
INTO
TEST
(
SELECT
*
FROM
TEST
)
is
now
supported
.
</
li
><
li
>
H2
Console
:
C
olumns
are
now
listed
for
up
to
500
tables
.
</
li
><
li
>
H2
Console
:
c
olumns
are
now
listed
for
up
to
500
tables
.
</
li
><
li
>
H2
Console
:
support
for
the
'command'
key
.
</
li
><
li
>
JaQu
:
the
maximum
length
of
a
column
can
now
be
defined
.
</
li
><
li
>
The
fulltext
search
documentation
has
been
improved
.
...
...
h2/src/test/org/h2/test/db/TestMemoryUsage.java
浏览文件 @
152e4944
...
...
@@ -33,11 +33,9 @@ public class TestMemoryUsage extends TestBase {
}
public
void
test
()
throws
SQLException
{
deleteDb
(
"memoryUsage"
);
testCreateDropLoop
();
testCreateIndex
();
testClob
();
deleteDb
(
"memoryUsage"
);
testReconnectOften
();
deleteDb
(
"memoryUsage"
);
reconnect
();
...
...
@@ -49,6 +47,7 @@ public class TestMemoryUsage extends TestBase {
}
private
void
testCreateDropLoop
()
throws
SQLException
{
deleteDb
(
"memoryUsage"
);
conn
=
getConnection
(
"memoryUsage"
);
Statement
stat
=
conn
.
createStatement
();
for
(
int
i
=
0
;
i
<
100
;
i
++)
{
...
...
@@ -81,6 +80,7 @@ public class TestMemoryUsage extends TestBase {
if
(
config
.
memory
||
!
config
.
big
)
{
return
;
}
deleteDb
(
"memoryUsage"
);
Connection
conn
=
getConnection
(
"memoryUsage"
);
Statement
stat
=
conn
.
createStatement
();
stat
.
execute
(
"SET MAX_LENGTH_INPLACE_LOB 32768"
);
...
...
@@ -121,6 +121,7 @@ public class TestMemoryUsage extends TestBase {
if
(
config
.
memory
)
{
return
;
}
deleteDb
(
"memoryUsage"
);
Connection
conn
=
getConnection
(
"memoryUsage"
);
Statement
stat
=
conn
.
createStatement
();
stat
.
execute
(
"create table test(id int, name varchar(255))"
);
...
...
@@ -146,8 +147,9 @@ public class TestMemoryUsage extends TestBase {
}
private
void
testReconnectOften
()
throws
SQLException
{
int
len
=
getSize
(
1
,
2000
);
deleteDb
(
"memoryUsage"
);
Connection
conn1
=
getConnection
(
"memoryUsage"
);
int
len
=
getSize
(
1
,
2000
);
printTimeMemory
(
"start"
,
0
);
long
time
=
System
.
currentTimeMillis
();
for
(
int
i
=
0
;
i
<
len
;
i
++)
{
...
...
h2/src/test/org/h2/test/db/TestRights.java
浏览文件 @
152e4944
...
...
@@ -42,7 +42,7 @@ public class TestRights extends TestBase {
}
// public void testLowerCaseUser() throws SQLException {
// Documentation:
F
or compatibility,
// Documentation:
f
or compatibility,
// only unquoted or uppercase user names are allowed.
// deleteDb("rights");
// Connection conn = getConnection("rights");
...
...
h2/src/test/org/h2/test/mvcc/TestMvcc1.java
浏览文件 @
152e4944
...
...
@@ -69,7 +69,7 @@ public class TestMvcc1 extends TestBase {
// updated rows) on commit
// TODO Prio 1: ScanIndex: never remove uncommitted data from cache
// (lost sessionId)
// TODO Prio 1:
T
est with Hibernate
// TODO Prio 1:
t
est with Hibernate
// TODO Prio 2: if MVCC is used, rows of transactions need to fit in
// memory
// TODO Prio 2: write the log only when committed; remove restriction at
...
...
h2/src/test/org/h2/test/synth/sql/TestSynth.java
浏览文件 @
152e4944
...
...
@@ -315,7 +315,7 @@ public class TestSynth extends TestBase {
// stopImmediately = true;
// showLog = true;
// testRun(110600); // id=27 java.lang.Error:
R
esults don't match:
// testRun(110600); // id=27 java.lang.Error:
r
esults don't match:
// original (0):
// System.exit(0);
...
...
h2/src/tools/org/h2/build/code/CheckTextFiles.java
浏览文件 @
152e4944
...
...
@@ -231,7 +231,7 @@ public class CheckTextFiles {
f
.
write
(
changed
);
f
.
setLength
(
changed
.
length
);
f
.
close
();
System
.
out
.
println
(
"CHANGED:
File
"
+
file
.
getName
());
System
.
out
.
println
(
"CHANGED: "
+
file
.
getName
());
}
}
line
=
1
;
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
152e4944
...
...
@@ -594,4 +594,4 @@ ops jopr googlegroups fletcher prefer djava expires fffe polish articles
attachment transiently cleanup dbsnmp olapsys wmsys tsmsys outln ctxsys mddata
ordsys ordplugins mgmt dmsys exfsys mdsys sysman informtn textarray tmzone cdo
emf decompile streamed setmaxlengthinplacelob setcompresslob compressing
compressible subclass ints seeks kilobytes
\ No newline at end of file
compressible subclass ints seeks kilobytes capitalized sqlj psm sigmod acm
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论