|
|
|
|
Quelle rpl_row_triggers.result
Sprache: Lisp
|
|
-. @.= YES
[connection M C2
create t2i2 primary,cntint,o(1) char1)
insert intot2values
TABLEt1( CHAR1)primary key CHAR()) engine=nnodb
('d0'0 ' ' ' )(d1'
C1 C2
connection ('i0', 0, ' ' ','' ,'', ';
slave;
cntcnt+,=.C1 =. id u0'java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
SET @= @@lobal.lave_run_triggers_for_rbr
SET @@global t1_cnt_daafterdeleteon t1feach
SETupdatet2 cntc1 ooC1,n= '';
* FROM t1;
C1 C2
create table t2 (id char(2) primary key, cnt int, o char(1), n char(1));
insert into t2 values
('u0', 0, ' 't2 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 57
(',, , )'' , , )
('i0',ojava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
create triggerjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [53, 6) out of bounds for length 57
1 = ' java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 57
before for row
update t2 set cnt=cnt+1, n=new.C1, ;
create trigger java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
update java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
trigger each
update t2 set cnt=java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
trigger java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 56
set nt=,n.,o'' i'
SELECT *java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
n
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 6
1
i0java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 8
i1delete from t1 where C1='d';
u0 0
u1 0
connectionjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
# java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
u0 1ajava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
connection slave;
SELECT * FROM t2 orderjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 32
id SELECT java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
d12
a
d
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 6
u1 0
connection java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
t1';
connection slave java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 46
;
SELECTjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
idjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
d0 0
d1 0
i0 1 a
i1 1 a
ad
connectionjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
i1 5 java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
drop table t3,t1;
connection slave;
SELECT *java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
cntjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
d0 1 d
d1 1 d
i0 1 a
i1 1 a
u0 1dtable;
1ad
# INSERT triggers causing DELETE + INSERT (on unique CREATE java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 38
insertSET@java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 29
on
d
d1 cjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
0
i1 java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 26
u0 sjava.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 17
a
connectionjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
insertconnect java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
connection slave;
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 29
id cnt o n
d0 2 0
d1 2 0
i0 3 0
C1 java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
u1 1 a d
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 46
(java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 59
insert intojava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
old_slave_run_java.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 73
CREATE SET@@java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
('u0,0 ' ,', 0''')
SELECT * FROM t2 )(d' , , ),
id cnt o n
d0 3 1
d1 3 1
i0 5 (i' , , )(,0 ','';
i1 5 1
u0java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 56
update =1 =.C1nnewC java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 60
trigger t1 java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 57
table t1
connection slave;
create java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 55
update=+,oo.C1n=.1 ='';
SET @@global.create trigger t1_cnt_da after delete on t1 for eachset ,oC1 = java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 57
drop table t2;
connection master;
CREATE TABLE t1 (i INT) ENGINE=InnoDB;
update set =+1,n=ew.C1, , o= 'whereid='1;
connectionSELECT * FROM t2 order ;
id n
SET
d1
0 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
connection ;
INSE java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 22
(1)
INSERT INTO t1 ;
connect;
SELECT id;;
cnt java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
i
1
2
SET @@global.java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 6
drop tables t2,update t1 set C1=d'
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 50
connection master;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
C1 d1
createjava.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 14
;
connection slave;
SET @connection slave;
SET @java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 29
al.Ijava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
SETi00
i1 0
C1 C2
create table
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 21
'' , ,'',',0, , )java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(t1 (',1)
,', ),',,'''';
create trigger
cnt1 =ld,newjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 60
t1_cnt_ib before insertt1java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 57
connection;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 32
updatejava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
create java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 57
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 56
update t2 set cnt=cntjava.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 29
n
d1 0
i0 0
i1 0
connec java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
u1 0
connection master;
# INSERT into t1 values'''
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
connection java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
*java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 10
d0# java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 59
d1 0
i0java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
i1java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 26
u0 0
u1 0
connection master;
# UPDATE triggers test
t1 C1= d;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
connection slave;
SELECT * FROM t2 order slave_run_triggers_for_rbr=1;
id onforrowset b=ajava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
d0 0
d1 0
i0 0
i1 0
0
u1 0 1
connection java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 22
drop table t1, tlog;
connection slave;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
;
id cnt o n
d0 0
d1 0
i0 0
i1 0
u0 0
u1 0
# INSERT triggers which#failedin:
insert #
# Crea on java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 48
idset@java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 49
d0 0
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
#java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 7
u0 0
u1 0
connection master;
insert into t1 values ('0','1');
connection slave;
connection slave;
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 0
i0 1 0
i1 1 0
u0 0
u1 0
# INSERT triggers which cause also DELETE test
# (insert duplicate row in table referenced by foreign key)
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 32
connectionjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
t3C1 ),()C1 ) engine=innodb
insert into t1 values ('1','1');
connection ;
update t1 set pk=pk+10;
SELECT * FROM t2 order by id;
id cnt o n
0
d1 0
i0 2 1
i1 2 1
u0 0
u1 0
connection master;
drop 11
connection slave;
connection slave;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
SET @@global.#
tablet2
#
# java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
#
connection master;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 31
create table java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
create trigger tr1 java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 18
connection C2
set@ ;
set global
beforejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
connection master;
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
*
b
10
2 20
3 30
set global slave_run_triggers_for_rbr = @java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 40
connection master;
drop table t1, tlog;
on java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
#
# MDEV-8411 Assertion `is_stat_field || !table || (!table->write_set ||
# bitmap_is_set(table->rite_set, ) |
# bitmap_is_set(table->vcol_set,t2 set cnt=cnt+, o=ld.=.1 where id '0;
# :s
#
#
#createtrigger afterupdate t1 for
#
;
@.saved =@@;
set =nt+, oo.1 = id='1';
create table t1 (pk int primary key, f int);
connection;
#
# Create a trigger on the slave.
#
create java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
set @java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
set global 0
master
#
#Updatethe the trigger on the .
#
intointo t1 values (,,(2;
update t1 connection slave;
select * from t1;
pk
11 cnton
12 java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
connection java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
#
# Check to see if slave has theC1= ';
c slave;
*from ;
pk f
111000
12 1000
#
# Cleanup
#
set global java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
ion master;
set binlog_row_image = @binlog_row_image.saved;
drop t1;
connection slave;
#
# enterprise 10.4 tests java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 18
#
#
# connection ;
# connection ;
#
# ( ) if master
connection master;
TABLE (1 (1 key,C2 () =innodb;
SELECT * FROM t1;
C1 C2
d1 1 d
set @dummy= 1;
connection slavei0 1 a
connection slave;
T@= @@.lave_exec_mode;
SET @java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
obal.java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 41
SET #INSERT riggerswhich also (insert )
SELECT * FROM t1;
C1 C2
create* order by ;
values
('u0',d0 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
('d0'i1 3 java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
('i0#INSERT java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
create trigger before update ont1foreach ow
t2 cnt=nt+,o=old.C1, n=newC1 whereid = 'u0'
create triggerconnectionjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
t2 cntcnt+,n=newC1,o=' id = i;
create trigger t1_cnt_a after update oninsert intot1 ('1''';
java.lang.StringIndexOutOfBoundsException: Range [17, 6) out of bounds for length 60
create trigger after on t1feach
update t2 set cnt=cnt+1, o=connectionslave;
SELECT*FROM id;
update set=+,n=new., = where = ''
SELECT * java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
id cnt o n
d0
d1 0
i0 0
i1 0 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
u0 0
u1 0
master;
triggers test
insert into slave;
SET @@globalslave_exec_modeo;
connection slaveSET @.= @;
*FROM t2 order by id;
id cnt o#
d0 0
d1 0
i0 1 a
i1 1 a
u0 0
u1 0
;
# UPDATE java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
update t1 set C1= 'd';
connection slave;
connection slave;
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 0
i0 1 a
i1 1 a
u0 1 a d
u1 1 a d
connection master;
# DELETE triggers test
delete from t1 where C1='d';
connection slave;
connection slave;
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 1 d
i0 1 a
i1 1 a
u0 1 a d
u1 1 a d
# INSERT triggers which cause also UPDATE test (insert duplicate row)
insert into t1 values ('0','1');
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 1 d
i0 2 0
i1 2 0
u0 1 a d
u1 1 a d
connection master;
insert into t1 values ('0','1');
connection slave;
connection slave;
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 2 0
i0 3 0
i1 3 0
u0 1 a d
u1 1 a d
# INSERT triggers which cause also DELETE test
# (insert duplicate row in table referenced by foreign key)
insert into t1 values ('1','1');
connection master;
CREATE TABLE t3 (C1 CHAR(1) primary key, FOREIGN KEY (C1) REFERENCES t1(C1) ) engine=innodb;
insert into t1 values ('1','1');
connection slave;
connection slave;
SELECT * FROM t2 order by id;
id cnt o n
d0 0
d1 3 1
i0 5 1
i1 5 1
u0 1 a d
u1 1 a d
connection master;
drop table t3,t1;
connection slave;
connection slave;
SET @@global.slave_exec_mode= @old_slave_exec_mode;
SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
drop table t2;
#
# enterprise 10.4 tests end
#
include/rpl_end.inc
| | |