31.03.2013, 21:03
(
Последний раз редактировалось dusk; 31.03.2013 в 21:39.
)
I updated to mysql R8.This is the last thing that happens:
EDIT:crashdetect log
pawn Код:
[00:27:14] ProcessTick() - The cache has been cleared.
[00:27:37] >> mysql_query_callback(Connection handle: 1)
[00:27:37] ProcessQueryThread(OnAccountCheck) - Executing query SELECT password FROM `users` WHERE `username` = 'Enrico_Mancini'...
[00:27:37] ProcessQueryThread(OnAccountCheck) - Query was successful.
[00:27:37] ProcessQueryThread(OnAccountCheck) - Data caching enabled.
[00:27:37] CMySQLHandler::StoreResult() - Result was stored.
[00:27:37] CMySQLHandler::FreeResult() - Result was successfully freed.
[00:27:37] ProcessQueryThread(OnAccountCheck) - Data being passed to ProcessTick().
[00:27:37] OnAccountCheck(i) - Callback has been called.
[00:27:37] >> cache_get_data(Connection handle: 1)
pawn Код:
forward OnAccountCheck(playerid);
public OnAccountCheck(playerid)
{
new rows,fields;
cache_get_data(rows,fields,dbHandle);
if(rows>0)
{
cache_get_row(0,3,PlayerInfo[playerid][pPass],dbHandle);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login:","Enter your password below:","Login","Cancel");
}
else
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"Register:","Enter your pasword below:","Register","Cancel");
}
return 1;
}
pawn Код:
01:02:30] [debug] Server crashed while executing rp.amx
[01:02:30] [debug] AMX backtrace:
[01:02:30] [debug] #0 native cache_get_row () [00138ce0] from mysql.so
[01:02:30] [debug] #1 000246c4 in public OnAccountCheck () from rp.amx
[01:02:30] [debug] System backtrace:
[01:02:30] [debug] #0 00fd1ecb in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[01:02:30] [debug] #1 00fc9c69 in _ZN11CrashDetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[01:02:30] [debug] #2 00fcbc99 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[01:02:30] [debug] #3 00fd19d8 in ?? () from plugins/crashdetect.so
[01:02:30] [debug] #4 0082c600 in ?? ()
[01:02:30] [debug] #5 00ea62eb in strlen () from /lib/libc.so.6
[01:02:30] [debug] #6 08094ce5 in ?? () from ./bebrassamp
[01:02:30] [debug] #7 00133342 in amx_SetString () from plugins/mysql.so
[01:02:30] [debug] #8 001336e0 in _ZN6StrAmx10SetCStringEP6tagAMXiPci () from plugins/mysql.so
[01:02:30] [debug] #9 00138d75 in _ZN7Natives15n_cache_get_rowEP6tagAMXPi () from plugins/mysql.so
[01:02:30] [debug] #10 080938e4 in ?? () from ./bebrassamp
[01:02:30] [debug] #11 00fcbf37 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[01:02:30] [debug] #12 00fce268 in ?? () from plugins/crashdetect.so
[01:02:30] [debug] #13 00fd42c2 in amx_Exec () from plugins/crashdetect.so
[01:02:30] [debug] #14 00fcbe1e in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[01:02:30] [debug] #15 00fce2de in ?? () from plugins/crashdetect.so
[01:02:30] [debug] #16 00132c21 in amx_Exec () from plugins/mysql.so
[01:02:30] [debug] #17 0013cda9 in ProcessTick () from plugins/mysql.so
[01:02:30] [debug] #18 080c5a32 in ?? () from ./bebrassamp
[01:02:30] [debug] #19 080b57fc in ?? () from ./bebrassamp
[01:02:30] [debug] #20 080b10a3 in ?? () from ./bebrassamp
[01:02:30] [debug] #21 00e49c76 in __libc_start_main () from /lib/libc.so.6
[01:02:30] [debug] #22 0804b521 in ?? () from ./bebrassamp