答复: help for mysql_fetch_row error on a large field

2002-09-24 Thread Lin Kui
Hi, Lars, Thanks. I have cracked down this problem. It is very easy in C/C++, as follows: int main(...) { max_allowed_packet = 1024 * 1024 * 32; /* 32M communication buffer needed */ . } Lin Kui -邮件原件- 发件人: lars [mailto:lars] 代表 Lars Heidieker 发送时间: 2002年9月24日 22:47 收件人

help for mysql_fetch_row error on a large field

2002-09-24 Thread Lin Kui
Hi, all, when I use mysql_fetch_row(myRes) and there is a very large field (~30M long), my program crashed. How can I solve the problem? For less than 5M long string/text, it works well. thanks. My machine is Linux 7.3 & MySQL is 4.0.3-beta. Best regards. ~~~~~~ Lin Kui College of