Debian Codegraph @

mysql-test/suite/rpl/r/rpl_auto_increment_bug45679.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 call mtr.add_suppression('Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.');
7 create table ti (b int auto_increment, a int, primary key (a,b)) engine= innodb;
8 ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
9 create table ti (b int auto_increment, a int, primary key (b,a)) engine= innodb;
10 set @@binlog_format=statement;
11 Warnings:
12 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
13 *** no warning when autoincrement is the first in PK
14 insert into ti set b=null, a=1;
15 show warnings;
16 Level Code Message
17 drop table ti;
18 include/sync_slave_sql_with_master.inc
19 include/rpl_end.inc