# 事务 现有 test1 表如下 ```sql create table test1(a integer primary key ); ``` 我们执行下面的语句 ```sql CREATE PROCEDURE transaction_test1() BEGIN declare idx int; set idx = 0; iter: LOOP start transaction ; INSERT INTO test1 (a) VALUES (idx); IF (idx % 2) = 0 THEN COMMIT; ELSE ROLLBACK; END IF; IF idx < 10 THEN set idx = idx + 1; ITERATE iter; END IF; LEAVE iter; END LOOP iter; END; CALL transaction_test1(); ``` 时,下面哪一项的解释是对的?