pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 80 forks source link

Query execution stops with no errors #206

Open mikroware opened 5 years ago

mikroware commented 5 years ago

I have no clue how and why this is happening. We have been running the exact code without problems on a Debian 8 server before. Recently we switched to a new host and LXC containers and these problems started. These problems do not seem to happen on another server we run with exactly the same setup and mysql config.

So the problem: after a random time the queries seem to stop executing.

Before:

[11-12-2018 10:21:26] [INFO] query "INSERT INTO user_time_played VALUES (1, NOW(), HOUR(NOW()), 6) ON DUPLICATE KEY UPDATE seconds=seconds+6" successfully executed within 1.208 milliseconds

Just a bit later:

[11-12-2018 10:36:57] [DEBUG] mysql_format(1, 0xF58AC134, 255, "DELETE FROM bans WHERE unban > 0 AND unban < %i") (../include/utilities/general.inc:188 -> ../include/utilities/account.inc:7 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_format: return value: '55' (../include/utilities/general.inc:188 -> ../include/utilities/account.inc:7 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_tquery(1, "DELETE FROM bans WHERE unban > 0 AND unban < 1544521017", "", "") (../include/utilities/general.inc:189 -> ../include/utilities/account.inc:7 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] CCallback::Create(amx=0x8b7f718, name='', format='', params=0xf58ac120, param_offset=5)
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute(this=0x8bbb6a0, type=1, query=0x8d95f54)
[11-12-2018 10:36:57] [DEBUG] CConnection::Execute(query=0x8d95f54, this=0xf5345008, connection=0x8be6008)
[11-12-2018 10:36:57] [DEBUG] CQuery::Execute(this=0x8d95f54, connection=0x8be6008)
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute - return value: true
[11-12-2018 10:36:57] [DEBUG] mysql_tquery: return value: '1' (../include/utilities/general.inc:189 -> ../include/utilities/account.inc:7 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_format(1, 0xF58AC134, 255, "UPDATE users SET vip=0, vip_expire=0 WHERE vip_expire > 0 AND vip_expire < %i") (../include/utilities/general.inc:194 -> ../include/utilities/account.inc:9 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_format: return value: '85' (../include/utilities/general.inc:194 -> ../include/utilities/account.inc:9 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_tquery(1, "UPDATE users SET vip=0, vip_expire=0 WHERE vip_expire > 0 AND vip_expire < 1544521017", "", "") (../include/utilities/general.inc:195 -> ../include/utilities/account.inc:9 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] CCallback::Create(amx=0x8b7f718, name='', format='', params=0xf58ac120, param_offset=5)
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute(this=0x8bbb6a0, type=1, query=0x8d966ac)
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute - return value: true
[11-12-2018 10:36:57] [DEBUG] mysql_tquery: return value: '1' (../include/utilities/general.inc:195 -> ../include/utilities/account.inc:9 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_format(1, 0xF58AC140, 255, "SELECT * FROM bans WHERE name='%e' OR ip='%s'") (../include/utilities/account.inc:16 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] CHandle::EscapeString(this=0x8bbb6a0, src='******')
[11-12-2018 10:36:57] [DEBUG] CConnection::EscapeString(src='*****', this=0x8bbbc30, connection=0x8bbc450)
[11-12-2018 10:36:57] [DEBUG] CHandle::EscapeString - return value: true, escaped string: '******'
[11-12-2018 10:36:57] [DEBUG] mysql_format: return value: '69' (../include/utilities/account.inc:16 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] mysql_tquery(1, "SELECT * FROM bans WHERE name='*****' OR ip='******'", "OnBanCheck", "i") (../include/utilities/account.inc:17 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[11-12-2018 10:36:57] [DEBUG] CCallback::Create(amx=0x8b7f718, name='OnBanCheck', format='i', params=0xf58ac128, param_offset=5)
[11-12-2018 10:36:57] [DEBUG] CCallback::Create - callback index for 'OnBanCheck': 16
[11-12-2018 10:36:57] [DEBUG] processing specifier 'i' with parameter index 0
[11-12-2018 10:36:57] [DEBUG] retrieved and pushed value '1'
[11-12-2018 10:36:57] [INFO] Callback 'OnBanCheck' set up for delayed execution.
[11-12-2018 10:36:57] [DEBUG] created delayed callback with 1 parameter
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute(this=0x8bbb6a0, type=1, query=0x8d949e4)
[11-12-2018 10:36:57] [DEBUG] CHandle::Execute - return value: true
[11-12-2018 10:36:57] [DEBUG] mysql_tquery: return value: '1' (../include/utilities/account.inc:17 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)

As can be seen. No actual execution seems to happen.


The below part is probably a result of the above problem and an edge case. The above happens constantly after server restarts. The below I have only seen once.

At the point of the above logs I was AFK myself ingame. I decided to exit the game. Of course this meant some queries were going to be ran. This actually caused the server to crash and restart as a whole. The crashdetect logs seem to suggest this was caused by mysql. As of there was something unfinished or something.

[11-12-2018 10:52:40] Server crashed due to an unknown error
[11-12-2018 10:52:40] Native backtrace:
[11-12-2018 10:52:40] #0 f7bff180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[11-12-2018 10:52:40] #1 f7bf7064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[11-12-2018 10:52:40] #2 f7bf7d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[11-12-2018 10:52:40] #3 f7bf9cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[11-12-2018 10:52:40] #4 f7bfe4d5 in ?? () from plugins/crashdetect.so
[11-12-2018 10:52:40] #5 f7f5a010 in __kernel_rt_sigreturn () from linux-gate.so.1
[11-12-2018 10:52:40] #6 f7cb45c8 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[11-12-2018 10:52:40] #7 0809571b in ?? () from samp03svr
[11-12-2018 10:52:40] #8 f7022004 in ?? () from plugins/mysql.so
[11-12-2018 10:52:40] #9 f704c48b in ?? () from plugins/mysql.so
[11-12-2018 10:52:40] #10 f703445b in ?? () from plugins/mysql.so
[11-12-2018 10:52:40] #11 f7034229 in ?? () from plugins/mysql.so
[11-12-2018 10:52:40] #12 f70353b4 in ?? () from plugins/mysql.so
[11-12-2018 10:52:40] #13 f705d887 in ProcessTick () from plugins/mysql.so
[11-12-2018 10:52:40] #14 080d1ce2 in ?? () from samp03svr
[11-12-2018 10:52:40] #15 080aef6c in ?? () from samp03svr
[11-12-2018 10:52:40] #16 080aa13a in ?? () from samp03svr
[11-12-2018 10:52:40] #17 f7c41a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[11-12-2018 10:52:40] Registers:
[11-12-2018 10:52:40] EAX: ff9f99d4 EBX: f540b008 ECX: 718cb008 EDX: ff9f99d4
[11-12-2018 10:52:40] ESI: ffffd8bd EDI: 00000008 EBP: ff9f9928 ESP: ff9f98fc
[11-12-2018 10:52:40] EIP: f7cb45c8 EFLAGS: 00210203
[11-12-2018 10:52:40] Stack:
[11-12-2018 10:52:40] ESP+00000000: 0809571b ff9f99d4 718cb008 f7bb112b
[11-12-2018 10:52:40] ESP+00000020: f731748c 0860eac0 00000001 ff9f9bf8
[11-12-2018 10:52:40] ESP+00000040: f7022bb7 08d41018 f7021fe6 f731748c
[11-12-2018 10:52:40] ESP+00000060: f702609f 0861134c f659e77f 000017e1
[11-12-2018 10:52:40] ESP+00000080: 088caab4 ff9f99d4 0000000a 0000000b
[11-12-2018 10:52:40] ESP+000000a0: f70d2e98 f58ac5a8 08d41024 08d4152c
[11-12-2018 10:52:40] ESP+000000c0: ff9f99d4 ffffd8bd 00000044 000001f4
[11-12-2018 10:52:40] ESP+000000e0: 6d612865 ffffd8bd 66376238 2c383137
[11-12-2018 10:52:40] ESP+00000100: 27726f72 6f66202c 74616d72 7364273d
[11-12-2018 10:52:40] ESP+00000120: f7c9bafc f7c23ff4 00000000 0865a760
[11-12-2018 10:52:40] ESP+00000140: f58ac5a8 000db9a4 00000001 00000018
[11-12-2018 10:52:40] ESP+00000160: f7d4a9a8 086189f8 00000000 00000000
[11-12-2018 10:52:40] ESP+00000180: f7dd1000 ff9f9ab0 ff9f9ca0 ff9f9dd8
[11-12-2018 10:52:40] ESP+000001a0: f7dd1000 f7dd1420 00000011 ff9f9b38
[11-12-2018 10:52:40] ESP+000001c0: 00000000 f7c9db67 f7f22000 00000010
[11-12-2018 10:52:40] ESP+000001e0: f7f4b000 f67f03c0 0860f7c8 ff9f9af8
[11-12-2018 10:52:40] ESP+00000200: 0806f87b 08624eda 000000c1 00000057
[11-12-2018 10:52:40] ESP+00000220: 08624eda 086244d1 08624124 00000000
[11-12-2018 10:52:40] ESP+00000240: 08071d73 08624124 ff9f9b90 00000015
[11-12-2018 10:52:40] ESP+00000260: f7c9ae85 08624124 08620410 ff9f9ce8
[11-12-2018 10:52:40] ESP+00000280: ff9f9b9c 0860f7c8 0860f701 f7dd1420
[11-12-2018 10:52:40] ESP+000002a0: f7c9dbb1 00000584 0862a5d0 43075e49
[11-12-2018 10:52:40] ESP+000002c0: f7e83044 00000015 08c4207c f70270ab
[11-12-2018 10:52:40] ESP+000002e0: f704c440 ff9f9c38 ff9f9c30 f7024ebb
[11-12-2018 10:52:40] ESP+00000300: f704c48b 088caaac 00000001 00000008
[11-12-2018 10:52:40] ESP+00000320: ff9f9c30 00000000 01000001 f7ee8e19
[11-12-2018 10:52:40] ESP+00000340: 088caaa0 088caaa0 00000008 f704c3ee
[11-12-2018 10:52:40] ESP+00000360: f703445b 08d95f68 000007dd ff9f9c8c
[11-12-2018 10:52:40] ESP+00000380: 0860e1c8 f65af000 f7f36a60 f65fe640
[11-12-2018 10:52:40] ESP+000003a0: f731748c f51028d8 08d95f54 ff9f9cf8
[11-12-2018 10:52:40] ESP+000003c0: 00000000 00000000 00000000 ff9f9cdc
[11-12-2018 10:52:40] ESP+000003e0: 081a199c 00000000 00000000 f70341db
[11-12-2018 10:52:40] Loaded modules:
[11-12-2018 10:52:40] 00000000 - 00187dc3 samp03svr
[11-12-2018 10:52:40] f7f59000 - f7f5a1ee linux-gate.so.1
[11-12-2018 10:52:40] f7f47000 - f7f4981b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[11-12-2018 10:52:40] f7f2b000 - f7f45d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[11-12-2018 10:52:40] f7e38000 - f7f31ce6 /usr/lib32/libstdc++.so.6
[11-12-2018 10:52:40] f7df2000 - f7e36b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[11-12-2018 10:52:40] f7dd5000 - f7df13c4 /lib/i386-linux-gnu/libgcc_s.so.1
[11-12-2018 10:52:40] f7c28000 - f7ddd22f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[11-12-2018 10:52:40] f7f5b000 - f7f7bd6c /lib/ld-linux.so.2
[11-12-2018 10:52:40] f7be1000 - f7c23ac4 plugins/crashdetect.so
[11-12-2018 10:52:40] f7bc7000 - f7bdff66 plugins/log-plugin.so
[11-12-2018 10:52:40] f7ba3000 - f7bc6d32 /home/samp-tdm/server-tdm-prod/plugins/../log-core.so
[11-12-2018 10:52:40] f7b92000 - f7b9909f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[11-12-2018 10:52:40] f7000000 - f7395eb2 plugins/mysql.so
[11-12-2018 10:52:40] f67f2000 - f67fd3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[11-12-2018 10:52:40] f6734000 - f67f239a plugins/streamer.so
[11-12-2018 10:52:40] f6724000 - f67331d4 plugins/sscanf.so
[11-12-2018 10:52:40] f6552000 - f65ffc5b plugins/YSF.so
[11-12-2018 10:52:40] f6717000 - f6723011 plugins/gvar.so
[11-12-2018 10:52:40] f6708000 - f67163ef plugins/socket.so
[11-12-2018 10:52:40] f6385000 - f6568b2c /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
[11-12-2018 10:52:40] f6326000 - f6386254 /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0
[11-12-2018 10:52:40] f631a000 - f6323918 plugins/whirlpool.so
[11-12-2018 10:52:40] f7f4f000 - f7f52280 plugins/MapAndreas.so
mikroware commented 5 years ago

Yesterday and today it went better for sometime. But now I started to notice that it seems like the callback OnBanCheck does get called in some cases, but only after like 10 or 15 minutes.

When you look at the 2nd code block in the original issue, that is an example of what happened before the below:

[12-12-2018 20:15:05] [DEBUG] mysql_tquery: return value: '1' (../include/features/session_time.inc:129 -> ../include/features/session_time.inc:23 -> ./Mudoo.pwn:145 -> ./../pawno/include/sscanf2.inc:259)
[12-12-2018 20:30:42] [ERROR] error #2013 while executing query "DELETE FROM bans WHERE unban > 0 AND unban < 1544642098": Lost connection to MySQL server during query (../include/utilities/general.inc:189 -> ../include/utilities/account.inc:7 -> ./Mudoo.pwn:100 -> ./../pawno/include/sscanf2.inc:235)
[12-12-2018 20:30:42] [DEBUG] CConnection::GetError(this=0xf5345008, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CConnection::Execute(query=0x98f1fd4, this=0xf5345008, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CQuery::Execute(this=0x98f1fd4, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CCallback::Create(amx=0x974f718, name='OnQueryError', format='dsssd)
[12-12-2018 20:30:42] [DEBUG] CCallback::Create - callback index for 'OnQueryError': -10053
[12-12-2018 20:30:42] [DEBUG] processing specifier 'd'
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value '2013'
[12-12-2018 20:30:42] [DEBUG] processing specifier 's'
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value 'Lost connection to MySQL server during query'
[12-12-2018 20:30:42] [DEBUG] processing specifier 's'
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value ''
[12-12-2018 20:30:42] [DEBUG] processing specifier 's'
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value 'DELETE FROM bans WHERE unban > 0 AND unban < 1544642098'
[12-12-2018 20:30:42] [DEBUG] processing specifier 'd'
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value '1'
[12-12-2018 20:30:42] [INFO] Callback 'OnQueryError' set up for delayed execution.
[12-12-2018 20:30:42] [DEBUG] created delayed callback with 5 parameters
[12-12-2018 20:30:42] [DEBUG] CCallback::Execute(amx=0x974f718, index=-10053, num_params=5)
[12-12-2018 20:30:42] [INFO] Executing callback 'úÿ‹T$<…À…§' with 5 parameters...
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 'c'
[12-12-2018 20:30:42] [DEBUG] pushed value '1' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 's'
[12-12-2018 20:30:42] [DEBUG] pushed value 'DELETE FROM bans WHERE unban > 0 AND unban < 1544642098' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 's'
[12-12-2018 20:30:42] [DEBUG] pushed value '' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 's'
[12-12-2018 20:30:42] [DEBUG] pushed value 'Lost connection to MySQL server during query' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 'c'
[12-12-2018 20:30:42] [DEBUG] pushed value '2013' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] executing AMX callback with index '-10053'
[12-12-2018 20:30:42] [DEBUG] AMX callback executed with error '0'
[12-12-2018 20:30:42] [INFO] Callback successfully executed.
[12-12-2018 20:30:42] [INFO] query "UPDATE users SET vip=0, vip_expire=0 WHERE vip_expire > 0 AND vip_expire < 1544642098" successfully executed within 36.160 milliseconds
[12-12-2018 20:30:42] [DEBUG] CResultSet::Create(connection=0x97b6008, query_str='UPDATE users SET vip=0, vip_expire=0 WHERE vip_expire > 0 AND vip_expire < 1544642098')
[12-12-2018 20:30:42] [DEBUG] created new resultset '0xf51068f8'
[12-12-2018 20:30:42] [DEBUG] fetched MySQL result '0x0'
[12-12-2018 20:30:42] [DEBUG] CConnection::Execute(query=0x98e0d9c, this=0xf5345008, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CQuery::Execute(this=0x98e0d9c, connection=0x97b6008)
[12-12-2018 20:30:42] [INFO] query "SELECT * FROM bans WHERE name='Leonardo_Wans' OR ip='95.132.132.253'" successfully executed within 2.298 milliseconds
[12-12-2018 20:30:42] [DEBUG] CResultSet::Create(connection=0x97b6008, query_str='SELECT * FROM bans WHERE name='Leonardo_Wans' OR ip='95.132.132.253'')
[12-12-2018 20:30:42] [DEBUG] created new resultset '0xf5106918'
[12-12-2018 20:30:42] [DEBUG] fetched MySQL result '0xf51066b0'
[12-12-2018 20:30:42] [DEBUG] allocated 0 bytes for PAWN result
[12-12-2018 20:30:42] [DEBUG] CConnection::Execute(query=0x996019c, this=0xf5345008, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CQuery::Execute(this=0x996019c, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CCallback::Execute(amx=0x974f718, index=16, num_params=1)
[12-12-2018 20:30:42] [INFO] Executing callback 'OnBanCheck' with 1 parameter...
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 'c'
[12-12-2018 20:30:42] [DEBUG] pushed value '0' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] executing AMX callback with index '16'
[12-12-2018 20:30:42] [DEBUG] cache_get_row_count(0xF58AC5B8) (../include/utilities/account.inc:29)
[12-12-2018 20:30:42] [DEBUG] cache_get_row_count: return value: '1' (../include/utilities/account.inc:29)
[12-12-2018 20:30:42] [INFO] query "DELETE FROM user_online WHERE user_id=0" successfully executed within 0.302 milliseconds
[12-12-2018 20:30:42] [DEBUG] CResultSet::Create(connection=0x97b6008, query_str='DELETE FROM user_online WHERE user_id=0')
[12-12-2018 20:30:42] [DEBUG] created new resultset '0xf5106998'
[12-12-2018 20:30:42] [DEBUG] fetched MySQL result '0x0'
[12-12-2018 20:30:42] [DEBUG] mysql_format(1, 0xF58AC1BC, 255, "SELECT password, id FROM users WHERE name='%e' LIMIT 1") (../include/utilities/account.inc:67)
[12-12-2018 20:30:42] [DEBUG] mysql_format: return value: '52' (../include/utilities/account.inc:67)
[12-12-2018 20:30:42] [DEBUG] mysql_tquery(1, "SELECT password, id FROM users WHERE name='' LIMIT 1", "OnAccountCheck", "i") (../include/utilities/account.inc:68)
[12-12-2018 20:30:42] [DEBUG] CCallback::Create(amx=0x974f718, name='OnAccountCheck', format='i', params=0xf58ac1a4, param_offset=5)
[12-12-2018 20:30:42] [DEBUG] CCallback::Create - callback index for 'OnAccountCheck': 12
[12-12-2018 20:30:42] [DEBUG] processing specifier 'i' with parameter index 0
[12-12-2018 20:30:42] [DEBUG] retrieved and pushed value '0'
[12-12-2018 20:30:42] [INFO] Callback 'OnAccountCheck' set up for delayed execution.
[12-12-2018 20:30:42] [DEBUG] created delayed callback with 1 parameter
[12-12-2018 20:30:42] [DEBUG] CHandle::Execute(this=0x978b6a0, type=1, query=0x98f1fd4)
[12-12-2018 20:30:42] [DEBUG] CHandle::Execute - return value: true
[12-12-2018 20:30:42] [DEBUG] mysql_tquery: return value: '1' (../include/utilities/account.inc:68)
[12-12-2018 20:30:42] [DEBUG] AMX callback executed with error '0'
[12-12-2018 20:30:42] [INFO] Callback successfully executed.
[12-12-2018 20:30:42] [DEBUG] CConnection::Execute(query=0x98f1fd4, this=0xf5345008, connection=0x97b6008)
[12-12-2018 20:30:42] [DEBUG] CQuery::Execute(this=0x98f1fd4, connection=0x97b6008)
[12-12-2018 20:30:42] [INFO] query "SELECT password, id FROM users WHERE name='' LIMIT 1" successfully executed within 11.142 milliseconds
[12-12-2018 20:30:42] [DEBUG] CResultSet::Create(connection=0x97b6008, query_str='SELECT password, id FROM users WHERE name='' LIMIT 1')
[12-12-2018 20:30:42] [DEBUG] created new resultset '0xf51068e0'
[12-12-2018 20:30:42] [DEBUG] fetched MySQL result '0xf5106a40'
[12-12-2018 20:30:42] [DEBUG] allocated 0 bytes for PAWN result
[12-12-2018 20:30:42] [DEBUG] CCallback::Execute(amx=0x974f718, index=12, num_params=1)
[12-12-2018 20:30:42] [INFO] Executing callback 'OnAccountCheck' with 1 parameter...
[12-12-2018 20:30:42] [DEBUG] processing internal specifier 'c'
[12-12-2018 20:30:42] [DEBUG] pushed value '0' onto AMX stack
[12-12-2018 20:30:42] [DEBUG] executing AMX callback with index '12'
[12-12-2018 20:30:42] [DEBUG] cache_get_row_count(0xF58AC5B8) (../include/utilities/account.inc:75)
[12-12-2018 20:30:42] [DEBUG] cache_get_row_count: return value: '1' (../include/utilities/account.inc:75)
[12-12-2018 20:30:42] [DEBUG] AMX callback executed with error '0'
[12-12-2018 20:30:42] [INFO] Callback successfully executed.