Crashing server
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
pawn Код:
cache_get_row(0, 37, temp);
Is that correct? If it is then your query isn't optimized at all. Only select the field you need. Besides that, it looks like you're fetching a salt from the database and then using that same salt to query the database again. You should use MySQL's CONCAT() function to save up on unnecessary queries.

I think the crash might actually be caused by fetching a new result while the previous result hasn't been freed yet.
Thanks about the concat function! Never knew this existed, so I'll try that now
Reply


Messages In This Thread
Crashing server - by thefatshizms - 10.06.2013, 19:09
Re: Crashing server - by thefatshizms - 11.06.2013, 15:17
Re: Crashing server - by SuperViper - 11.06.2013, 15:20
Re: Crashing server - by Vince - 11.06.2013, 15:25
Re: Crashing server - by thefatshizms - 11.06.2013, 15:35
Re: Crashing server - by thefatshizms - 11.06.2013, 16:09
Re: Crashing server - by thefatshizms - 11.06.2013, 16:49
Re: Crashing server - by Vince - 11.06.2013, 17:01
Re: Crashing server - by thefatshizms - 11.06.2013, 17:11
Re: Crashing server - by thefatshizms - 11.06.2013, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)