| 1 |
create table t1 (a int primary key, b int, c int, unique key(b), key(c)) engine=aria transactional=1; |
| 2 |
insert into t1 values (1000,1000,1000); |
| 3 |
insert into t1 select seq,seq+100, seq+200 from seq_1_to_10; |
| 4 |
select sum(a),sum(b),sum(c) from t1; |
| 5 |
sum(a) sum(b) sum(c) |
| 6 |
1055 2055 3055 |
| 7 |
SET GLOBAL debug_dbug="+d,crash_end_bulk_insert"; |
| 8 |
REPLACE into t1 select seq+20,seq+95, seq + 300 from seq_1_to_10; |
| 9 |
ERROR HY000: Lost connection to server during query |
| 10 |
check table t1; |
| 11 |
Table Op Msg_type Msg_text |
| 12 |
test.t1 check status OK |
| 13 |
select sum(a),sum(b),sum(c) from t1; |
| 14 |
sum(a) sum(b) sum(c) |
| 15 |
1055 2055 3055 |
| 16 |
drop table t1; |