summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/transaction_nested_events.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/perfschema/t/transaction_nested_events.test')
-rw-r--r--mysql-test/suite/perfschema/t/transaction_nested_events.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/perfschema/t/transaction_nested_events.test b/mysql-test/suite/perfschema/t/transaction_nested_events.test
index 11ab1d946c0..4babe47bc77 100644
--- a/mysql-test/suite/perfschema/t/transaction_nested_events.test
+++ b/mysql-test/suite/perfschema/t/transaction_nested_events.test
@@ -217,7 +217,7 @@ SELECT * FROM t1 ORDER BY s1;
--connection con1
DELIMITER |;
--error ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG
-CREATE FUNCTION fn_err1() RETURNS VARCHAR(10) BEGIN START TRANSACTION ; RETURN invalid ; END|
+CREATE FUNCTION fn_err1() RETURNS VARCHAR(10) BEGIN START TRANSACTION ; RETURN 'invalid' ; END|
DELIMITER ;|
--echo
@@ -241,7 +241,7 @@ SELECT COUNT(*) FROM performance_schema.events_transactions_history;
--echo
DELIMITER |;
--error ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG
-CREATE FUNCTION fn_err2() RETURNS VARCHAR(10) BEGIN COMMIT; RETURN invalid ; END|
+CREATE FUNCTION fn_err2() RETURNS VARCHAR(10) BEGIN COMMIT; RETURN 'invalid' ; END|
DELIMITER ;|
--echo