Re: Help needed with C program + Mysql

2002-02-28 Thread Benjamin Pflugmann
Hi. The char* to the field value will be NULL (in the C meaning), if the value is NULL (in the SQL meaning). The reason for your core dump is probably a missing check before you treat the NULL pointer as string. Bye, Benjamin. On Thu, Feb 28, 2002 at 03:23:01PM -0300, [EMAIL PROTECTED

Help needed with C program + Mysql

2002-02-28 Thread Villarroel Nuñez Alejandro Arturo
I have defined a Mysql table with some integer variable, I can put NULL values in these elementes, but when I user mysql_fetch_row, if there's some integer field with NULL value, the program fails with core dump. Where's the problem? Thanks in advance.