mysql-test/suite/galera/t/galera_blob_key.test
raw| 1 | source include/galera_cluster.inc; |
| 2 | source include/have_innodb.inc; |
| 3 | |
| 4 | --echo # |
| 5 | --echo # MDEV-38374 nonsense code in wsrep_store_key_val_for_row() |
| 6 | --echo # |
| 7 | |
| 8 | create table t1 ( |
| 9 | id int auto_increment primary key, |
| 10 | blob_data longblob not null, |
| 11 | unique key idx_blob_prefix (blob_data(3072)) |
| 12 | ) engine=innodb; |
| 13 | insert into t1 (blob_data) values ('a'); |
| 14 | update t1 set blob_data = repeat('x', 4000) where id = 1; |
| 15 | drop table t1; |
| 16 | |
| 17 | --echo # End of 10.6 tests |