diff options
Diffstat (limited to 'mysql-test/r/mysqlbinlog.result')
-rw-r--r-- | mysql-test/r/mysqlbinlog.result | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/mysqlbinlog.result b/mysql-test/r/mysqlbinlog.result index 94aaee0c574..c7da070a622 100644 --- a/mysql-test/r/mysqlbinlog.result +++ b/mysql-test/r/mysqlbinlog.result @@ -639,6 +639,10 @@ CREATE TABLE t1(a INT); INSERT INTO t1 VALUES(connection_id()); FLUSH LOGS; DROP TABLE t1; +connect con1, localhost, root, , test; +connection con1; +disconnect con1; +connection default; 1 DROP TABLE t1; shell> mysqlbinlog std_data/corrupt-relay-bin.000624 > var/tmp/bug31793.sql @@ -658,15 +662,19 @@ flush logs; INSERT INTO t1 VALUES (1,USER()); flush logs; mysqlbinlog var/log/master-bin.000018 > var/tmp/bug31611.sql +connect unsecure,localhost,untrusted,,mysqltest1; mysql mysqltest1 -uuntrusted < var/tmp/bug31611.sql +connection unsecure; INSERT INTO t1 VALUES (1,USER()); ERROR 42000: INSERT command denied to user 'untrusted'@'localhost' for table 't1' SELECT * FROM t1; a b 1 root@localhost +connection default; DROP DATABASE mysqltest1; DROP USER untrusted@localhost; Bug#32580 mysqlbinlog cannot read binlog event with user variables +connection default; USE test; SET BINLOG_FORMAT = STATEMENT; FLUSH LOGS; |