mysql> call lcc(@aa);
ERROR 1436 (HY000): Thread stack overrun: 6860 bytes used of a 131072 byte stac
k, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger s
tack.
解决办法:
修改my.ini,将thread_stack = 128K这行注释掉,或者修改个大一点的数值,然后重启mysql。