Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
182c28f8
提交
182c28f8
authored
1月 20, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
c264653e
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
19 行增加
和
6 行删除
+19
-6
advanced.html
h2/src/docsrc/html/advanced.html
+1
-1
features.html
h2/src/docsrc/html/features.html
+2
-1
h2-logo_square.png
h2/src/docsrc/html/images/h2-logo_square.png
+0
-0
performance.html
h2/src/docsrc/html/performance.html
+7
-0
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-1
ErrorCode.java
h2/src/main/org/h2/constant/ErrorCode.java
+8
-3
没有找到文件。
h2/src/docsrc/html/advanced.html
浏览文件 @
182c28f8
...
@@ -77,7 +77,7 @@ Advanced
...
@@ -77,7 +77,7 @@ Advanced
<h3>
Statements that Return a Result Set
</h3>
<h3>
Statements that Return a Result Set
</h3>
<p>
<p>
The following statements return a result set:
<code>
SELECT, EXPLAIN, CALL, SCRIPT
</code>
.
The following statements return a result set:
<code>
SELECT, EXPLAIN, CALL, SCRIPT
, SHOW, HELP
</code>
.
All other statements return an update count.
All other statements return an update count.
</p>
</p>
...
...
h2/src/docsrc/html/features.html
浏览文件 @
182c28f8
...
@@ -1180,7 +1180,8 @@ open, one of them will then start a server (auto-reconnect is enabled automatica
...
@@ -1180,7 +1180,8 @@ open, one of them will then start a server (auto-reconnect is enabled automatica
</p>
</p>
<p>
<p>
All processes need to have access to the database files.
All processes need to have access to the database files.
If the first connection is closed (the connection that started the server), open transactions of other connections will be rolled back.
If the first connection is closed (the connection that started the server), open transactions of other connections will be rolled back
(this may not be a problem if you don't disable autocommit).
Explicit client/server connections (using
<code>
jdbc:h2:tcp://
</code>
or
<code>
ssl://
</code>
) are not supported.
Explicit client/server connections (using
<code>
jdbc:h2:tcp://
</code>
or
<code>
ssl://
</code>
) are not supported.
This mode is not supported for in-memory databases.
This mode is not supported for in-memory databases.
</p>
</p>
...
...
h2/src/docsrc/html/images/h2-logo_square.png
0 → 100644
浏览文件 @
182c28f8
2.3 KB
h2/src/docsrc/html/performance.html
浏览文件 @
182c28f8
...
@@ -351,6 +351,13 @@ profiler.startCollecting();
...
@@ -351,6 +351,13 @@ profiler.startCollecting();
profiler.stopCollecting();
profiler.stopCollecting();
System.out.println(profiler.getTop(3));
System.out.println(profiler.getTop(3));
</pre>
</pre>
<p>
The profiler is built into the H2 Console tool, to analyze databaseses that open slowly.
To use it, run the H2 Console, and then click on 'Test Connection'.
Afterwards, click on "Test successful" and you get the most common stack traces,
which helps to find out why it took so long to connect. You will only get the stack traces
if opening the database took more than a few seconds.
</p>
<h2
id=
"database_profiling"
>
Database Profiling
</h2>
<h2
id=
"database_profiling"
>
Database Profiling
</h2>
<p>
<p>
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
182c28f8
...
@@ -471,7 +471,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -471,7 +471,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Implement GiST (Generalized Search Tree for Secondary Storage).
</li><li>
Implement GiST (Generalized Search Tree for Secondary Storage).
</li><li>
Function to read a number of bytes/characters from an BLOB or CLOB.
</li><li>
Function to read a number of bytes/characters from an BLOB or CLOB.
</li><li>
Issue 156: Support SELECT ? UNION SELECT ?.
</li><li>
Issue 156: Support SELECT ? UNION SELECT ?.
</li><li>
Automatic mixed mode: support a port range list (to avoid firewall problems)
</li><li>
Automatic mixed mode: support a port range list (to avoid firewall problems)
.
</li></ul>
</li></ul>
<h2>
Not Planned
</h2>
<h2>
Not Planned
</h2>
...
...
h2/src/main/org/h2/constant/ErrorCode.java
浏览文件 @
182c28f8
...
@@ -1268,9 +1268,14 @@ public class ErrorCode {
...
@@ -1268,9 +1268,14 @@ public class ErrorCode {
public
static
final
int
CANNOT_DROP_LAST_COLUMN
=
90084
;
public
static
final
int
CANNOT_DROP_LAST_COLUMN
=
90084
;
/**
/**
* The error with code <code>90085</code> is thrown when trying to
* The error with code <code>90085</code> is thrown when
* manually drop an index that was generated by the system because of a
* trying to manually drop an index that was generated by the system
* unique constraint.
* because of a unique or referential constraint. To find out what
* constraint causes the problem, run:
* <pre>
* SELECT * FROM INFORMATION_SCHEMA.CONSTRAINTS
* WHERE UNIQUE_INDEX_NAME = '<index name>';
* </pre>
* Example of wrong usage:
* Example of wrong usage:
* <pre>
* <pre>
* CREATE TABLE TEST(ID INT, CONSTRAINT UID UNIQUE(ID));
* CREATE TABLE TEST(ID INT, CONSTRAINT UID UNIQUE(ID));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论