From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/rollback.result | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 mysql-test/main/rollback.result (limited to 'mysql-test/main/rollback.result') diff --git a/mysql-test/main/rollback.result b/mysql-test/main/rollback.result new file mode 100644 index 00000000..e562b73c --- /dev/null +++ b/mysql-test/main/rollback.result @@ -0,0 +1,29 @@ +drop table if exists t1; +create table t1 (n int not null primary key) engine=myisam; +begin work; +insert into t1 values (4); +insert into t1 values (5); +rollback; +Warnings: +Warning 1196 Some non-transactional changed tables couldn't be rolled back +select @@warning_count; +@@warning_count +1 +select @@error_count; +@@error_count +0 +show warnings; +Level Code Message +Warning 1196 Some non-transactional changed tables couldn't be rolled back +show errors; +Level Code Message +select * from t1; +n +4 +5 +select @@warning_count; +@@warning_count +0 +show warnings; +Level Code Message +drop table t1; -- cgit v1.2.3