提交 2f4afd0f authored 作者: Thomas Mueller's avatar Thomas Mueller

MVStore: support concurrent transactions (MVCC style, should match the behavior of PostgreSQL)

上级 73a8002d
...@@ -114,6 +114,7 @@ import org.h2.test.store.TestMVTableEngine; ...@@ -114,6 +114,7 @@ import org.h2.test.store.TestMVTableEngine;
import org.h2.test.store.TestObjectDataType; import org.h2.test.store.TestObjectDataType;
import org.h2.test.store.TestSpinLock; import org.h2.test.store.TestSpinLock;
import org.h2.test.store.TestStreamStore; import org.h2.test.store.TestStreamStore;
import org.h2.test.store.TestTransactionMap;
import org.h2.test.synth.TestBtreeIndex; import org.h2.test.synth.TestBtreeIndex;
import org.h2.test.synth.TestCrashAPI; import org.h2.test.synth.TestCrashAPI;
import org.h2.test.synth.TestDiskFull; import org.h2.test.synth.TestDiskFull;
...@@ -583,7 +584,6 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -583,7 +584,6 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
new TestLargeBlob().runTest(this); new TestLargeBlob().runTest(this);
new TestLinkedTable().runTest(this); new TestLinkedTable().runTest(this);
new TestListener().runTest(this); new TestListener().runTest(this);
// verify
new TestLob().runTest(this); new TestLob().runTest(this);
new TestMemoryUsage().runTest(this); new TestMemoryUsage().runTest(this);
new TestMultiConn().runTest(this); new TestMultiConn().runTest(this);
...@@ -598,10 +598,8 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -598,10 +598,8 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
new TestReadOnly().runTest(this); new TestReadOnly().runTest(this);
new TestRecursiveQueries().runTest(this); new TestRecursiveQueries().runTest(this);
new TestRights().runTest(this); new TestRights().runTest(this);
// verify
new TestRunscript().runTest(this); new TestRunscript().runTest(this);
new TestSQLInjection().runTest(this); new TestSQLInjection().runTest(this);
// verify
new TestSessionsLocks().runTest(this); new TestSessionsLocks().runTest(this);
new TestSelectCountNonNullColumn().runTest(this); new TestSelectCountNonNullColumn().runTest(this);
new TestSequence().runTest(this); new TestSequence().runTest(this);
...@@ -691,6 +689,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1` ...@@ -691,6 +689,7 @@ kill -9 `jps -l | grep "org.h2.test." | cut -d " " -f 1`
new TestObjectDataType().runTest(this); new TestObjectDataType().runTest(this);
new TestSpinLock().runTest(this); new TestSpinLock().runTest(this);
new TestStreamStore().runTest(this); new TestStreamStore().runTest(this);
new TestTransactionMap().runTest(this);
// unit // unit
new TestAutoReconnect().runTest(this); new TestAutoReconnect().runTest(this);
......
...@@ -18,7 +18,7 @@ import org.h2.test.TestBase; ...@@ -18,7 +18,7 @@ import org.h2.test.TestBase;
/** /**
* Test concurrent transactions. * Test concurrent transactions.
*/ */
public class TestTransaction extends TestBase { public class TestTransactionMap extends TestBase {
/** /**
* Run just this test. * Run just this test.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论