16.07.2013, 13:20
(
Последний раз редактировалось maddinat0r; 16.07.2013 в 14:03.
)
Because of the multi-threading. At first the mysql_errno call in the plugin was not protected with a mutex (which is the main reason for not having a mysql_errno native). Then I saw in R26 that it caused problems with the OnQueryError callback and protected the call. And finally while developing R28 I realized that some things were quite unnecessary, changed some code and reimplemented mysql_errno.
I'll take a look at it.
Sure, no problem.
You should treat MySQL as case sensitive (well it actually ignores case sensitivity on Windows, but does not on Linux).
EDIT:
Thanks for reporting, this crash is now fixed in R30.
This is a well known "bug" with enum-arrays (like your PlayerInfo array) which exists since R8. Just specify the max_len in the native (it's an optional parameter) or use the method you already said (storing it into a temporary variable and then copy the content of the temporary variable into the enum-array).
Quote:
My server locked up here (Windows)
pawn Код:
pawn Код:
|
Quote:
Could you add 'fake natives' for mysql_function_query etc. (function macros) so they show up in pawno? Thanks. (define them as a native function inside a comment block (not sure if single lines work))
|
Quote:
I have discovered a bug , and my server doesn't working with R29.
In my Database I have 'id' and I load 'id' column as : cache_get_field_content_int( 0, "Id" ); not cache_get_field_content_int( 0, "id" ); And it causes crash . Now I am asking why with R27 =< versions can load cache_get_field_content_int( 0, "Id" ); not cache_get_field_content_int( 0, "id" ); . Can you explain this ? But i solved that problem . |
EDIT:
Thanks for reporting, this crash is now fixed in R30.
Quote:
I think found the crash reason. I set the player name when it's logged like this:
[...] E1.: I don't know why, but if i create a local variable, and fill it with cache_get_field_content, it work fine, but if i use an array, like: PlayerInfo[playerid][pNev] to store, it does not fill up. |