fixed heap corruption

improved memory usage
removed useless stringpooler
This commit is contained in:
David Anderson
2006-06-04 19:26:43 +00:00
parent cef005317b
commit 24cdcde968
6 changed files with 76 additions and 232 deletions

View File

@ -408,6 +408,11 @@ static cell AMX_NATIVE_CALL SQL_SetAffinity(AMX *amx, cell *params)
int len;
char *str = MF_GetAmxString(amx, params[1], 0, &len);
if (!str[0])
{
return 1;
}
if (stricmp(str, g_Mysql.NameString()) == 0)
{
return 1;