答复: help for mysql_fetch_row error on a large field

2002-09-24 Thread Lin Kui
: Lin Kui 主题: Re: help for mysql_fetch_row error on a large field Hi, have a look for the variables max_allowed_packet which is 1Mb by default. It limits the the size of the records that can be transfered. max_allowed_packet ist a server configuration option and there is some client (16Mb

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 Life Scie