drop table if exists t2; create table t2( id bigint not null primary key, i1 text, #unique i2 varchar(1024) #unique ) engine=xengine DEFAULT CHARSET=UTF8 COLLATE=utf8_general_ci; drop procedure if exists insert_data_t2; CREATE PROCEDURE insert_data_t2(cnt int) BEGIN DECLARE i int DEFAULT 0; WHILE i