Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
ddf48534
提交
ddf48534
authored
5月 01, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
2ae9a839
全部展开
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
1804 行增加
和
1781 行删除
+1804
-1781
features.html
h2/src/docsrc/html/features.html
+1
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+591
-582
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+591
-582
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+584
-581
Parser.java
h2/src/main/org/h2/command/Parser.java
+14
-15
CreateAggregate.java
h2/src/main/org/h2/command/ddl/CreateAggregate.java
+2
-2
CreateFunctionAlias.java
h2/src/main/org/h2/command/ddl/CreateFunctionAlias.java
+1
-1
DropFunctionAlias.java
h2/src/main/org/h2/command/ddl/DropFunctionAlias.java
+1
-1
Database.java
h2/src/main/org/h2/engine/Database.java
+6
-0
FunctionAlias.java
h2/src/main/org/h2/engine/FunctionAlias.java
+2
-2
Schema.java
h2/src/main/org/h2/schema/Schema.java
+7
-7
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+2
-1
TestFunctions.java
h2/src/test/org/h2/test/db/TestFunctions.java
+2
-6
没有找到文件。
h2/src/docsrc/html/features.html
浏览文件 @
ddf48534
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
ddf48534
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
ddf48534
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
ddf48534
差异被折叠。
点击展开。
h2/src/main/org/h2/command/Parser.java
浏览文件 @
ddf48534
...
...
@@ -4399,7 +4399,6 @@ public class Parser {
return
null
;
}
private
Sequence
findSequence
(
String
schema
,
String
sequenceName
)
{
Sequence
sequence
=
database
.
getSchema
(
schema
).
findSequence
(
sequenceName
);
if
(
sequence
!=
null
)
{
...
...
h2/src/main/org/h2/command/ddl/CreateAggregate.java
浏览文件 @
ddf48534
h2/src/main/org/h2/command/ddl/CreateFunctionAlias.java
浏览文件 @
ddf48534
...
...
@@ -58,7 +58,7 @@ public class CreateFunctionAlias extends SchemaCommand {
}
/**
* Set the qualified method name after removing whitespace
s
.
* Set the qualified method name after removing whitespace.
*
* @param method the qualified method name
*/
...
...
h2/src/main/org/h2/command/ddl/DropFunctionAlias.java
浏览文件 @
ddf48534
h2/src/main/org/h2/engine/Database.java
浏览文件 @
ddf48534
...
...
@@ -1956,6 +1956,12 @@ public class Database implements DataHandler {
return
exclusiveSession
;
}
/**
* Set the session that can exclusively access the database.
*
* @param session the session
* @param closeOthers whether other sessions are closed
*/
public
void
setExclusiveSession
(
Session
session
,
boolean
closeOthers
)
{
this
.
exclusiveSession
=
session
;
if
(
closeOthers
)
{
...
...
h2/src/main/org/h2/engine/FunctionAlias.java
浏览文件 @
ddf48534
...
...
@@ -52,7 +52,7 @@ public class FunctionAlias extends SchemaObjectBase {
/**
* Create a new alias based on a method name.
*
* @param
db the database
* @param
schema the schema
* @param id the id
* @param name the name
* @param javaClassMethod the class and method name
...
...
@@ -75,7 +75,7 @@ public class FunctionAlias extends SchemaObjectBase {
/**
* Create a new alias based on source code.
*
* @param
db the database
* @param
schema the schema
* @param id the id
* @param name the name
* @param source the source code
...
...
h2/src/main/org/h2/schema/Schema.java
浏览文件 @
ddf48534
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
ddf48534
...
...
@@ -295,9 +295,10 @@ java org.h2.test.TestAll timer
// System.setProperty("h2.lobInDatabase", "true");
// System.setProperty("h2.analyzeAuto", "100");
// System.setProperty("h2.pageSize", "64");
/*
// System.setProperty("h2.pageSize", "64");
test with small freeList pages, page size 64
test services on Windows
...
...
h2/src/test/org/h2/test/db/TestFunctions.java
浏览文件 @
ddf48534
...
...
@@ -162,8 +162,8 @@ public class TestFunctions extends TestBase implements AggregateFunction {
rs
.
next
();
assertEquals
(
0
,
rs
.
getInt
(
1
));
stat
.
execute
(
"drop alias getCount"
);
rs
=
stat
.
executeQuery
(
"SELECT * FROM INFORMATION_SCHEMA.FUNCTION_ALIASES WHERE UPPER(ALIAS_NAME) = 'GETCOUNT'"
);
assert
Equals
(
false
,
rs
.
next
());
rs
=
stat
.
executeQuery
(
"SELECT * FROM INFORMATION_SCHEMA.FUNCTION_ALIASES WHERE UPPER(ALIAS_NAME) = 'GET
' || '
COUNT'"
);
assert
False
(
rs
.
next
());
stat
.
execute
(
"create alias reverse deterministic for \""
+
getClass
().
getName
()+
".reverse\""
);
rs
=
stat
.
executeQuery
(
"select reverse(x) from system_range(700, 700)"
);
rs
.
next
();
...
...
@@ -473,10 +473,6 @@ public class TestFunctions extends TestBase implements AggregateFunction {
conn
.
close
();
}
/**
* White spaces in javaMethodDescriptors are deleted during
* CreateFunctionAlias, and all further processing is normalized.
*/
private
void
testWhiteSpacesInParameters
()
throws
SQLException
{
deleteDb
(
"functions"
);
Connection
conn
=
getConnection
(
"functions"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论