Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
825f08f6
提交
825f08f6
authored
7月 17, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
15dd878d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
1459 行增加
和
1424 行删除
+1459
-1424
help.csv
h2/src/docsrc/help/help.csv
+1
-1
changelog.html
h2/src/docsrc/html/changelog.html
+2
-2
features.html
h2/src/docsrc/html/features.html
+1
-1
fragments.html
h2/src/docsrc/html/fragments.html
+1
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+481
-469
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+481
-469
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+474
-470
help.csv
h2/src/main/org/h2/res/help.csv
+1
-1
TestBase.java
h2/src/test/org/h2/test/TestBase.java
+3
-3
AssertThrows.java
h2/src/test/org/h2/test/utils/AssertThrows.java
+4
-4
ProxyCodeGenerator.java
h2/src/test/org/h2/test/utils/ProxyCodeGenerator.java
+8
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
825f08f6
...
...
@@ -3627,7 +3627,7 @@ READONLY()
"
"Functions (System)","ROWNUM","
{ ROWNUM() } | { ROW_NUMBER() OVER() }
{ ROWNUM() } | { ROW_NUMBER() OVER() }
","
Returns the number of the current row.
This method returns a long.
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
825f08f6
...
...
@@ -19,8 +19,8 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Fulltext search (native): after re-opening the connection once the fulltext index was created,
transaction rollbacks
did not roll back the modifications in the index.
</li><li>
Support for ROW_NUMBER() OVER() as an alias for ROWNUM()
a transaction rollback
did not roll back the modifications in the index.
</li><li>
Support for ROW_NUMBER() OVER() as an alias for ROWNUM()
for compatibility with PostgreSQL and Apache Derby.
</li><li>
Issue 325: a deadlock in the fulltext search could occur if the connection that was
used while initializing the fulltext search was later used to query the database.
...
...
h2/src/docsrc/html/features.html
浏览文件 @
825f08f6
...
...
@@ -1187,7 +1187,7 @@ DriverManager.getConnection("jdbc:h2:/data/test;AUTO_SERVER=TRUE");
<p>
The page size for new databases is 2 KB (2048), unless the page size is set
explicitly in the database URL using
<code>
PAGE_SIZE=
</code>
when
the database is created. The page size of existing databases can not be changed,
the database is created. The page size of existing databases can not be changed,
so this property needs to be set when the database is created.
</p>
...
...
h2/src/docsrc/html/fragments.html
浏览文件 @
825f08f6
...
...
@@ -16,7 +16,7 @@ Initial Developer: H2 Group
<div
id =
"searchMenu"
style=
"width: 180px; overflow: hidden;"
>
<div
class=
"menu"
style=
"white-space:nowrap;"
>
<img
src=
"images/h2-logo.png"
alt=
"H2 database logo"
onclick=
"document.location='main.html'"
width=
"136"
height=
"74"
/>
<span
id =
"goTop"
onclick=
"window.scrollTo(0,0)"
style=
"color: #fff; position:fixed; font-size: 20px"
>
▲
</span>
<span
id =
"goTop"
onclick=
"window.scrollTo(0,0)"
style=
"color: #fff; position:fixed; font-size: 20px
; cursor: pointer;
"
>
▲
</span>
</div>
<form
action=
"submit"
onsubmit=
"return goFirst();"
>
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
825f08f6
...
...
@@ -553,7 +553,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Support NATURAL [ { LEFT | RIGHT } [ OUTER ] | INNER ] JOIN (Derby, Oracle)
</li><li>
GROUP BY columnNumber (similar to ORDER BY columnNumber) (MySQL, PostgreSQL, SQLite; not by HSQLDB and Derby).
</li><li>
Sybase / MS SQL Server compatibility: CONVERT(..) parameters are swapped.
</li><li>
Index conditions: WHERE AGE>1 should not scan though all rows with AGE=1.
</li><li>
Index conditions: WHERE AGE>1 should not scan th
r
ough all rows with AGE=1.
</li></ul>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
825f08f6
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
825f08f6
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
825f08f6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/res/help.csv
浏览文件 @
825f08f6
...
...
@@ -1334,7 +1334,7 @@ READONLY()
","
Returns true if the database is read-only."
"Functions (System)","ROWNUM","
ROWNUM()
{ ROWNUM() } | { ROW_NUMBER() OVER() }
","
Returns the number of the current row."
"Functions (System)","SCHEMA","
...
...
h2/src/test/org/h2/test/TestBase.java
浏览文件 @
825f08f6
...
...
@@ -1298,7 +1298,7 @@ public abstract class TestBase {
expectedExceptionClass
.
getSimpleName
()
+
" to be thrown, but the method returned "
+
returnValue
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
}
if
(!
expectedExceptionClass
.
isAssignableFrom
(
t
.
getClass
()))
{
AssertionError
ae
=
new
AssertionError
(
...
...
@@ -1307,7 +1307,7 @@ public abstract class TestBase {
" to be thrown, but the method under test threw an exception of type\n"
+
t
.
getClass
().
getSimpleName
()
+
" (see in the 'Caused by' for the exception that was thrown) "
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
ae
.
initCause
(
t
);
throw
ae
;
}
...
...
@@ -1350,7 +1350,7 @@ public abstract class TestBase {
* Verify the next method call on the object will throw an exception.
*
* @param <T> the class of the object
* @param
handler the exception handl
er to call
* @param
verifier the result verifi
er to call
* @param obj the object to wrap
* @return a proxy for the object
*/
...
...
h2/src/test/org/h2/test/utils/AssertThrows.java
浏览文件 @
825f08f6
...
...
@@ -34,7 +34,7 @@ public abstract class AssertThrows {
expectedExceptionClass
.
getSimpleName
()
+
" to be thrown, but the method returned "
+
returnValue
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
}
if
(!
expectedExceptionClass
.
isAssignableFrom
(
t
.
getClass
()))
{
AssertionError
ae
=
new
AssertionError
(
...
...
@@ -43,7 +43,7 @@ public abstract class AssertThrows {
" to be thrown, but the method under test threw an exception of type\n"
+
t
.
getClass
().
getSimpleName
()
+
" (see in the 'Caused by' for the exception that was thrown) "
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
ae
.
initCause
(
t
);
throw
ae
;
}
...
...
@@ -63,7 +63,7 @@ public abstract class AssertThrows {
throw
new
AssertionError
(
"Expected an exception to be thrown, but the method returned "
+
returnValue
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
}
// all exceptions are fine
return
false
;
...
...
@@ -92,7 +92,7 @@ public abstract class AssertThrows {
AssertionError
ae
=
new
AssertionError
(
"Expected an SQLException or DbException with error code "
+
expectedErrorCode
+
" for "
+
ProxyCodeGenerator
.
methodCallFormatter
(
m
,
args
));
" for "
+
ProxyCodeGenerator
.
formatMethodCall
(
m
,
args
));
ae
.
initCause
(
t
);
throw
ae
;
}
...
...
h2/src/test/org/h2/test/utils/ProxyCodeGenerator.java
浏览文件 @
825f08f6
...
...
@@ -334,7 +334,14 @@ public class ProxyCodeGenerator {
writer
.
flush
();
}
public
static
String
methodCallFormatter
(
Method
m
,
Object
...
args
)
{
/**
* Format a method call, including arguments, for an exception message.
*
* @param m the method
* @param args the arguments
* @return the formatted string
*/
public
static
String
formatMethodCall
(
Method
m
,
Object
...
args
)
{
StringBuilder
buff
=
new
StringBuilder
();
buff
.
append
(
m
.
getName
()).
append
(
'('
);
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
{
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
825f08f6
...
...
@@ -686,4 +686,4 @@ mcleod decade experience travel willing scjp himself routinely tsi retrieving
multiplied ross judson closeable watcher enqueued referent refs watch tracked
preserving disallowed restrictive dst regions kiritimati flow wider nanosecond
march april cutover julian transitions enderbury kwajalein viewport onscroll
umlaut reconstruct inclusive proxies
umlaut reconstruct inclusive proxies
verifier slept
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论