Commit bf5a48d0 authored by Josh Ji's avatar Josh Ji

gendata.sql

parent 5b3c96c0
delimiter ;;
drop procedure if exists doiterate ;;
CREATE PROCEDURE doiterate(p1 INT)
BEGIN
declare i int default 0;
while i < p1 DO -- 迴圈開始
insert into idp.pivinfo values(null, "test", random_bytes(32), random_bytes(32));
set i = i + 1;
end while;
END;
;;
start transaction;;
call doiterate(1000000);;
call doiterate(1000000);;
call doiterate(1000000);;
commit;;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment