Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
1cf93815
提交
1cf93815
authored
2月 22, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
ccded726
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
30 行增加
和
6 行删除
+30
-6
faq.html
h2/src/docsrc/html/faq.html
+7
-6
RightOwner.java
h2/src/main/org/h2/engine/RightOwner.java
+3
-0
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+2
-0
test.in.txt
h2/src/test/org/h2/test/test.in.txt
+18
-0
没有找到文件。
h2/src/docsrc/html/faq.html
浏览文件 @
1cf93815
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
<!--
Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
Initial Developer: H2 Group
-->
<html
xmlns=
"http://www.w3.org/1999/xhtml"
lang=
"en"
xml:lang=
"en"
>
...
...
@@ -62,7 +62,7 @@ Follow this checklist:
<li>
Run ANALYSE (see documentation for details).
</li><li>
Run the query with EXPLAIN and check if indexes are used (see documentation for details).
</li><li>
If required, create additional indexes and try again using ANALYZE and EXPLAIN.
</li><li>
If it doesn't help please report the problem.
</li><li>
If it doesn't help please report the problem.
</li>
</ul>
...
...
@@ -104,8 +104,8 @@ The theoretical limit is currently 256 GB for the data. This number is excluding
Every CLOB or BLOB can be up to 256 GB as well. The size limit of the index data is 256 GB as well.
</p>
<p>
The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the
limit is 4 GB for the data.
The maximum file size for FAT or FAT32 file systems is 4 GB. So if you use FAT or FAT32, the
limit is 4 GB for the data.
</p>
<br
/><a
name=
"reliable"
></a>
...
...
@@ -120,6 +120,7 @@ Areas that are not fully tested:
<ul>
<li>
Platforms other than Windows XP and the Sun JVM 1.4 and 1.5
</li><li>
The MVCC (multi version concurrency) mode
</li><li>
The persistent linear hash index
</li><li>
Cluster mode, 2-Phase Commit, Savepoints
</li><li>
Multi-Threading and using multiple connections
</li><li>
24/7 operation and large databases (500 MB and up)
...
...
@@ -156,7 +157,7 @@ However, the startup of the GCJ version is faster than when using a VM.
<br
/><a
name=
"translate"
></a>
<h3>
How to Translate this Project?
</h3>
<p>
For more information, see
For more information, see
<a
href=
"build.html#translating"
>
Build/Translating
</a>
.
</p>
...
...
h2/src/main/org/h2/engine/RightOwner.java
浏览文件 @
1cf93815
...
...
@@ -36,6 +36,9 @@ public abstract class RightOwner extends DbObjectBase {
}
public
boolean
isRoleGranted
(
Role
grantedRole
)
{
if
(
grantedRole
==
this
)
{
return
true
;
}
if
(
grantedRoles
!=
null
)
{
Iterator
it
=
grantedRoles
.
keySet
().
iterator
();
while
(
it
.
hasNext
())
{
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
1cf93815
...
...
@@ -155,6 +155,8 @@ java org.h2.test.TestAll timer
/*
fix or disable the linear hash index
delete old ipowerb content
link to new changelog and roadmap, remove pages from google groups
...
...
h2/src/test/org/h2/test/test.in.txt
浏览文件 @
1cf93815
--- special grammar and test cases ---------------------------------------------------------------------------------------------
CREATE ROLE X;
> ok
GRANT X TO X;
> exception
CREATE ROLE Y;
> ok
GRANT Y TO X;
> ok
DROP ROLE Y;
> ok
DROP ROLE X;
> ok
create table test as select * from table(id int=(1, 2, 3));
> ok
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论