From: paul k. <pau...@xs...> - 2005-06-06 09:01:30
|
Hi Michael, >>< char *value = ""; >>< char *status; >>--- >> >> >>> const char *value = ""; >>> const char *status; >>> >>> > >Hmmm... I don't think this is correct... >Could you please send me your mysql.h? > > > Why shouldn't this be correct? Even if mysql_stat returns a char * (which in my case it doesn't), the string are never modified in the function. So there is no reason why these can't be defined as const. cheers, Paul |