summaryrefslogtreecommitdiff
path: root/mysql-test/r/check.result
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/r/check.result
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/r/check.result')
-rw-r--r--mysql-test/r/check.result3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/check.result b/mysql-test/r/check.result
index 60806e7393e..739eab2ed76 100644
--- a/mysql-test/r/check.result
+++ b/mysql-test/r/check.result
@@ -1,4 +1,5 @@
-drop table if exists t1;
+drop table if exists t1,t2;
+drop view if exists v1;
create table t1(n int not null, key(n), key(n), key(n), key(n));
check table t1 extended;
insert into t1 values (200000);