We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f318f0b commit 1e08c6bCopy full SHA for 1e08c6b
docs/docs/db_course_lab/lab3.md
@@ -70,6 +70,7 @@ insert into t1 values(1, 1);
70
select * from t1;
71
72
delete from t1 where id = 0;
73
+update t1 set a = 101 where id = 1;
74
select * from t1; select * from t1;
75
insert into t1 values(3,3);
76
@@ -84,7 +85,7 @@ commit;
84
85
86
**提示** 事务提交时可以使用`ObLsmImpl::batch_put`,来一次性写入一批数据,需要考虑这一批数据写入的原子性,以及写入过程中的失败回滚。
87
-**提示** 在 lab#3 中需要支持两个客户端并发执行简单的 update 语句。例如:`update t set a = 1 where b = 2`。在后续 lab#4 中还需要支持更复杂的 update 语法,详情可参考lab#4 文档。
88
+**提示** 在 lab#3 中需要支持两个客户端在事务中并发执行简单的 update 语句。例如:`update t set a = 1 where b = 2`。在后续 lab#4 中还需要支持更复杂的 update 语法,详情可参考lab#4 文档。
89
90
**思考** 当前的 WriteBatch 是完全在内存中的,如果事务中涉及的大小超过内存大小应该如何处理?
91
0 commit comments