提交 b1dbfd4e authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 4818bc93
...@@ -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>
......
...@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论