summaryrefslogtreecommitdiff
path: root/mysql-test/t/timezone2.test
diff options
context:
space:
mode:
authortnurnberg@salvation.intern.azundris.com <>2006-11-17 21:30:28 +0100
committertnurnberg@salvation.intern.azundris.com <>2006-11-17 21:30:28 +0100
commit655056d32f8679df3d8e3715de6aa993d07720b5 (patch)
tree87e89a1067e3e0be2c0013c3053be9d0e2848f02 /mysql-test/t/timezone2.test
parentcba50775f7201813f7d154d785c0c3e67223c327 (diff)
downloadmariadb-git-655056d32f8679df3d8e3715de6aa993d07720b5.tar.gz
Bug#16456 RBR: rpl_sp.test expects query to fail, but passes in RBR
Fix tests for new behaviour: an error is thrown if a NON DETERMINISTIC stored function (SF) is called during statement-based replication (SBR).
Diffstat (limited to 'mysql-test/t/timezone2.test')
-rw-r--r--mysql-test/t/timezone2.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/timezone2.test b/mysql-test/t/timezone2.test
index 862b9cc58d1..5e1f74d388f 100644
--- a/mysql-test/t/timezone2.test
+++ b/mysql-test/t/timezone2.test
@@ -228,6 +228,8 @@ drop table t1;
# Test for bug #11081 "Using a CONVERT_TZ function in a stored function
# or trigger fails".
#
+SET GLOBAL log_bin_trust_function_creators = 1;
+
create table t1 (ldt datetime, udt datetime);
create function f1(i datetime) returns datetime
return convert_tz(i, 'UTC', 'Europe/Moscow');
@@ -241,4 +243,6 @@ select ldt, f1(udt) as ldt2 from t1;
drop table t1;
drop function f1;
+SET GLOBAL log_bin_trust_function_creators = 0;
+
# End of 5.0 tests