Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
53987cb2
提交
53987cb2
authored
2月 03, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
6bb00084
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
6 行删除
+26
-6
changelog.html
h2/src/docsrc/html/changelog.html
+3
-1
help.csv
h2/src/main/org/h2/res/help.csv
+16
-4
FtpServer.java
h2/src/main/org/h2/server/ftp/FtpServer.java
+3
-0
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+4
-1
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
53987cb2
...
...
@@ -18,7 +18,9 @@ Change Log
<h1>
Change Log
</h1>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
If opening a database failed with an out of memory exception, some files were not closed.
<ul><li>
The WebServlet did not close the database when undeploying the web application.
</li><li>
The exception message of failed INSERT or MERGE statements now includes all values and the row number.
</li><li>
If opening a database failed with an out of memory exception, some files were not closed.
</li><li>
Optimizer: the expected runtime calculation was incorrect. The fixed calculation
should give slightly better query plans when using many joins.
</li><li>
Improved exception message when connecting to a just started server fails.
...
...
h2/src/main/org/h2/res/help.csv
浏览文件 @
53987cb2
...
...
@@ -1843,7 +1843,8 @@ ARRAY
"Functions (Aggregate)","AVG","
AVG([DISTINCT] {int | long | decimal | double}): value
","
The average (mean) value.
The average (mean) value.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
AVG(X)
...
...
@@ -1853,6 +1854,7 @@ AVG(X)
BOOL_AND(boolean): boolean
","
Returns true if all expressions are true.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
BOOL_AND(ID>10)
...
...
@@ -1862,6 +1864,7 @@ BOOL_AND(ID>10)
BOOL_OR(boolean): boolean
","
Returns true if any expression is true.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
BOOL_OR(NAME LIKE 'W%')
...
...
@@ -1871,6 +1874,7 @@ BOOL_OR(NAME LIKE 'W%')
COUNT(*) | COUNT([DISTINCT] expression): int
","
The count of all row, or of the non-null values.
If no rows are selected, the result is 0.
Aggregates are only allowed in select statements.
","
COUNT(*)
...
...
@@ -1880,6 +1884,7 @@ COUNT(*)
GROUP_CONCAT([DISTINCT] string [ORDER BY {expression [ASC|DESC]}[,...]] [SEPARATOR expression]): string
","
Concatenates strings with a separator. The default separator is a ',' (without space).
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
GROUP_CONCAT(NAME ORDER BY ID SEPARATOR ', ')
...
...
@@ -1888,7 +1893,8 @@ GROUP_CONCAT(NAME ORDER BY ID SEPARATOR ', ')
"Functions (Aggregate)","MAX","
MAX(value): value
","
The highest value.
The highest value.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
MAX(NAME)
...
...
@@ -1897,7 +1903,8 @@ MAX(NAME)
"Functions (Aggregate)","MIN","
MIN(value): value
","
The lowest value.
The lowest value.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
MIN(NAME)
...
...
@@ -1906,7 +1913,8 @@ MIN(NAME)
"Functions (Aggregate)","SUM","
SUM([DISTINCT] {int | long | decimal | double}): value
","
The sum of all values.
The sum of all values.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
SUM(X)
...
...
@@ -1928,6 +1936,7 @@ SELECT SELECTIVITY(FIRSTNAME), SELECTIVITY(NAME) FROM TEST WHERE ROWNUM()<100000
STDDEV_POP([DISTINCT] double): double
","
The population standard deviation.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
STDDEV_POP(X)
...
...
@@ -1937,6 +1946,7 @@ STDDEV_POP(X)
STDDEV_SAMP([DISTINCT] double): double
","
The sample standard deviation.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
STDDEV(X)
...
...
@@ -1946,6 +1956,7 @@ STDDEV(X)
VAR_POP([DISTINCT] double): double
","
The population variance (square of the population standard deviation).
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
VAR_POP(X)
...
...
@@ -1955,6 +1966,7 @@ VAR_POP(X)
VAR_SAMP([DISTINCT] double): double
","
The sample variance (square of the sample standard deviation).
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
","
VAR_SAMP(X)
...
...
h2/src/main/org/h2/server/ftp/FtpServer.java
浏览文件 @
53987cb2
...
...
@@ -260,6 +260,9 @@ public class FtpServer implements Service {
}
public
void
stop
()
{
if
(
serverSocket
==
null
)
{
return
;
}
try
{
serverSocket
.
close
();
}
catch
(
IOException
e
)
{
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
53987cb2
...
...
@@ -283,7 +283,10 @@ java org.h2.test.TestAll timer
/*
include ClearReferences test case
maybe close the database when a final static field is set to null?
use 127.0.0.1 if other addresses don't work
isShutdown
PageStore.switchLogIfPossible()
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论