03.02.2010, 10:42
mysql_fetch_field()
You free *cfield and then use it for logging. There's also a typo in, afair, mysql_connect, being "verson" instead of "version".
I'll test the plugin soon
Code:
delete cfield; char *err = new char[128]; sprintf((char *)err, "'mysql_fetch_field' could not find field: '%s'.", cfield); GenerateError(h, (const char *)err, P_ERROR_NOFIELD); delete [] err; return 0;
I'll test the plugin soon