mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-19 01:24:20 +01:00
we do not allow DDL inside BEGIN CONCURRENT, so remove test
This commit is contained in:
@@ -304,20 +304,6 @@ fn test_mvcc_update_basic() {
|
|||||||
assert_eq!(row, vec![Value::build_text("second")]);
|
assert_eq!(row, vec![Value::build_text("second")]);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn test_mvcc_begin_concurrent_smoke() {
|
|
||||||
let tmp_db = TempDatabase::new_with_opts(
|
|
||||||
"test_mvcc_begin_concurrent_smoke.db",
|
|
||||||
turso_core::DatabaseOpts::new().with_mvcc(true),
|
|
||||||
);
|
|
||||||
let conn1 = tmp_db.connect_limbo();
|
|
||||||
conn1.execute("BEGIN CONCURRENT").unwrap();
|
|
||||||
conn1
|
|
||||||
.execute("CREATE TABLE test (id INTEGER, value TEXT)")
|
|
||||||
.unwrap();
|
|
||||||
conn1.execute("COMMIT").unwrap();
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_mvcc_concurrent_insert_basic() {
|
fn test_mvcc_concurrent_insert_basic() {
|
||||||
let tmp_db = TempDatabase::new_with_opts(
|
let tmp_db = TempDatabase::new_with_opts(
|
||||||
|
|||||||
Reference in New Issue
Block a user