Hm, I was under impression that ROLLBACK w/o savepoint works for MCS.
MariaDB [test]> create table cs4(i bigint)engine=columnstore;
Query OK, 0 rows affected (0.500 sec)
MariaDB [test]> create table cs3(i bigint)engine=columnstore;
Query OK, 0 rows affected (0.455 sec)
MariaDB [test]> begin;
Query OK, 0 rows affected (0.000 sec)
MariaDB [test]> insert into cs3 values(42);
Query OK, 1 row affected (0.245 sec)
MariaDB [test]> insert into cs4 values(42);
Query OK, 1 row affected (0.163 sec)
MariaDB [test]> rollback;
Query OK, 0 rows affected (0.312 sec)
MariaDB [test]> select * from cs3;
Empty set (0.172 sec)
I assume that you are using a named savepoint in the transaction?
Regards,
Roman
пятница, 12 мая 2023 г. в 16:19:37 UTC+3, pantonis: