首页 > mysql 存储过程的嵌套 是顺序执行还是乱序执行?

mysql 存储过程的嵌套 是顺序执行还是乱序执行?

mysql 存储过程的嵌套 是顺序执行还是乱序执行?

例如:

CREATE DEFINER=`root`@`localhost` PROCEDURE `fun1`(in var1 integer)
begin 
call autoCountItemSold();
call autoBinary();
select * from orders_father order by uid asc;
end

其中的:

call autoCountItemSold();
call autoBinary();
select * from orders_father order by uid asc;

三句语句是顺序执行的吗?如果遇到首个语句执行时间过长,会发生什么情况...

【热门文章】
【热门文章】