SA-MP Forums Archive
get number where is mistake. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: get number where is mistake. (/showthread.php?tid=491613)



get number where is mistake. - audriuxxx - 31.01.2014

Hi,

I want to ask, why i get this warning( i use blueg mysql r35 plugin) in mysql.log.

1.

Код:
[20:16:46] [WARNING] cache_get_row_count - no active cache
I know what it means, but how to know in what line this is? And when it can happin? i always do it:

Код:
if( cache_num_rows( ) )
		{
			for(new r=0; r < cache_get_row_count(); ++r)
			{

}
}
I always check is there any cache_num_rows how you see. Then how i get get this warning?



2.
Код:
[ERROR] cache_get_row_int - invalid datatype
What is here mistake? how to find in what line is problem?

3.
Код:
CMySQLResult::GetRowData - invalid row ('0') or field index ('8')
What is here imstake? how to find in what line is problem?


Re: get number where is mistake. - audriuxxx - 31.01.2014

UP


Re: get number where is mistake. - Misiur - 31.01.2014

R35 is a misfire release, revert back to R34 and wait for R36. If that doesn't solve the problem, I'll need some more code