Commit beb36f6c authored by unknown's avatar unknown

now results is correct

parent ee8195a7
...@@ -39,17 +39,18 @@ update t1 set f2 = 6 where f1 = 1 and f2 is null; ...@@ -39,17 +39,18 @@ update t1 set f2 = 6 where f1 = 1 and f2 is null;
(a) Number of rows updated: (a) Number of rows updated:
select row_count(); select row_count();
row_count() row_count()
0 1
(a) After the update statement is executed. (a) After the update statement is executed.
select rowid, f1, f2 from t1; select rowid, f1, f2 from t1;
rowid f1 f2 rowid f1 f2
1 1 10 1 1 10
2 1 NULL 2 1 NULL
3 1 6
commit; commit;
"The trx with consistent snapshot ended." "The trx with consistent snapshot ended."
select rowid, f1, f2 from t1; select rowid, f1, f2 from t1;
rowid f1 f2 rowid f1 f2
1 1 10 1 1 10
2 1 4 2 1 4
3 1 NULL 3 1 6
drop table t1; drop table t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment