connect con1,localhost,root,,;
connect con2,localhost,root,,;
connection con1; SET transaction_isolation = 'READ-COMMITTED';
CREATE TABLE bug49164 (a INT, b BIGINT, c TINYINT, PRIMARY KEY (a, b))
ENGINE=InnoDB;
insert into bug49164 values (1,1,1), (2,2,2), (3,3,3);
begin;
update bug49164 set c=7;
select * from bug49164;
a b c 117 227 337
rollback;
select * from bug49164;
a b c 111 222 333
begin;
update bug49164 set c=7;
connection con2; SET transaction_isolation = 'READ-COMMITTED';
begin;
select * from bug49164;
a b c 111 222 333
commit;
begin;
update bug49164 set c=6 where a=1and b=1;
connection con1;
rollback;
select * from bug49164;
a b c 111 222 333
connection con2;
commit;
connection con1;
select * from bug49164;
a b c 116 222 333
connection default;
disconnect con1;
disconnect con2;
drop table bug49164;
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.