summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorunknown <mats@kindahl-laptop.dnsalias.net>2007-05-27 22:20:01 +0200
committerunknown <mats@kindahl-laptop.dnsalias.net>2007-05-27 22:20:01 +0200
commit975c5570206d3003730e2370499c4f58b76768c1 (patch)
tree7ab7c24d87e01106a68f8723f38ec1d2fb8bb8a2 /mysql-test/t/func_misc.test
parent499a8ecd21c2542c08e273faabfffa94ebec1cfa (diff)
downloadmariadb-git-975c5570206d3003730e2370499c4f58b76768c1.tar.gz
WL#3339 (Issue warnings when statement-based replication may fail):
Fixing case where a false warning could be printed in mixed mode. Also fixing some test cases that generated different result files as a consequence of the patch. mysql-test/r/check.result: Result change. mysql-test/t/check.test: Dropping all views created in the test before trying to execute test. mysql-test/t/func_misc.test: Disabling warning for unsafe statement since test is not concerned with this and there are tests that test this. sql/sql_class.cc: Moving code to print warning for unsafe statement to look at logging *mode* instead of logging *format*. The latter one can print a false warning when executing in mixed mode and part of the statement is written in statement format (i.e., CREATE-SELECT).
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 8ff62f68e45..23b8db607b8 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -89,7 +89,9 @@ select export_set(3, _latin1'foo', _utf8'bar', ',', 4);
#
# Test for BUG#9535
#
+--disable_warnings
create table t1 as select uuid(), length(uuid());
+--enable_warnings
show create table t1;
drop table t1;