Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
b1dbfd4e
提交
b1dbfd4e
authored
3月 05, 2010
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
4818bc93
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
14 行增加
和
1 行删除
+14
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+4
-1
TestRecover.java
h2/src/test/org/h2/test/poweroff/TestRecover.java
+10
-0
没有找到文件。
h2/src/docsrc/html/roadmap.html
浏览文件 @
b1dbfd4e
...
@@ -127,6 +127,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -127,6 +127,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Default date format for input and output (local date constants).
</li><li>
Default date format for input and output (local date constants).
</li><li>
Support custom Collators.
</li><li>
Support custom Collators.
</li><li>
Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery).
</li><li>
Document ROWNUM usage for reports: SELECT ROWNUM, * FROM (subquery).
</li><li>
MS SQL Server compatibility: support 1+'2'=3, '1'+'2'='12'
</li><li>
Clustering: when a database is back alive, automatically synchronize with the master.
</li><li>
Clustering: when a database is back alive, automatically synchronize with the master.
</li><li>
File system that writes to two file systems (replication, replicating file system).
</li><li>
File system that writes to two file systems (replication, replicating file system).
</li><li>
Standalone tool to get relevant system properties and add it to the trace output.
</li><li>
Standalone tool to get relevant system properties and add it to the trace output.
...
@@ -190,7 +191,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -190,7 +191,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
See http://thedevcloud.blogspot.com/2008/10/displaying-hsql-database-manager-in.html
See http://thedevcloud.blogspot.com/2008/10/displaying-hsql-database-manager-in.html
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer()
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer()
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
</li><li>
Support 1+'2'=3, '1'+'2'='12' (MS SQL Server compatibility)
</li><li>
Support nested transactions
</li><li>
Support nested transactions
</li><li>
Add a benchmark for big databases, and one for many users
</li><li>
Add a benchmark for big databases, and one for many users
</li><li>
Compression in the result set (repeating values in the same column) over TCP/IP
</li><li>
Compression in the result set (repeating values in the same column) over TCP/IP
...
@@ -474,6 +474,9 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
...
@@ -474,6 +474,9 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree.
</li><li>
Tree index: Instead of an AVL tree, use a general balanced trees or a scapegoat tree.
</li><li>
User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>
User defined functions: allow to store the bytecode (of just the class, or the jar file of the extension) in the database.
</li><li>
Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL.
</li><li>
Compatibility: ResultSet.getObject() on a CLOB (TEXT) should return String for PostgreSQL and MySQL.
</li><li>
Optimizer: WHERE X=? AND Y IN(?), it always picks the index on Y. Should be cost based.
</li><li>
Support ALTER SCHEMA name RENAME TO newname (rename schema).
</li><li>
Make the cache scan resistant (currently a small cache is faster than a large cache for large table scans).
</li></ul>
</li></ul>
<h2>
Not Planned
</h2>
<h2>
Not Planned
</h2>
...
...
h2/src/test/org/h2/test/poweroff/TestRecover.java
浏览文件 @
b1dbfd4e
...
@@ -243,6 +243,16 @@ public class TestRecover {
...
@@ -243,6 +243,16 @@ public class TestRecover {
prepInsert
=
null
;
prepInsert
=
null
;
prepDelete
=
null
;
prepDelete
=
null
;
}
}
// if (random.nextBoolean()) {
// int test;
// if (random.nextBoolean()) {
// conn.createStatement().execute("drop index if exists idx_2");
// conn.createStatement().execute("create table if not exists test2(id int primary key) as select x from system_range(1, 1000)");
// } else {
// conn.createStatement().execute("create index if not exists idx_2 on test(d, name, id)");
// conn.createStatement().execute("drop table if exists test2");
// }
// }
if
(
random
.
nextBoolean
())
{
if
(
random
.
nextBoolean
())
{
if
(
prepInsert
==
null
)
{
if
(
prepInsert
==
null
)
{
prepInsert
=
conn
.
prepareStatement
(
"INSERT INTO TEST(ID, D, NAME) VALUES(?, ?, ?)"
);
prepInsert
=
conn
.
prepareStatement
(
"INSERT INTO TEST(ID, D, NAME) VALUES(?, ?, ?)"
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论