23.12.2015, 13:28
Код:
[14:26:37] [DEBUG] mysql_format - connection: 1, len: 128, format: "UPDATE `accounts` SET `AdminLevel` = '%d' WHERE `Name` = '%e'" [14:26:37] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts` SET `AdminLevel` = '4' WHERE `Name` = 'Aspire5", callback: "(null)", format: "(null)" [14:26:37] [DEBUG] CMySQLQuery::Execute[] - starting query execution [14:26:37] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 66.489 milliseconds [14:26:37] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving [14:28:15] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "myserver", password: "****", port: 3306, autoreconnect: true, pool_size: 2 [14:28:15] [DEBUG] CMySQLHandle::Create - creating new connection.. [14:28:15] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called [14:28:15] [DEBUG] CMySQLHandle::Create - connection created (id: 1) [14:28:15] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:28:15] [DEBUG] CMySQLConnection::Connect - connection was successful [14:28:15] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:28:15] [DEBUG] mysql_errno - connection: 1 [14:28:15] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:28:15] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [14:28:15] [DEBUG] CMySQLConnection::Connect - connection was successful [14:28:15] [DEBUG] CMySQLConnection::Connect - connection was successful [14:28:15] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:28:15] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [14:28:33] [DEBUG] mysql_format - connection: 1, len: 128, format: "SELECT `Password`, `Name` FROM `accounts` WHERE `Name` = '%e' LIMIT 1" [14:28:33] [DEBUG] mysql_tquery - connection: 1, query: "SELECT `Password`, `Name` FROM `accounts` WHERE `Name` = 'Aspire", callback: "OnAccountCheck", format: "i" [14:28:33] [DEBUG] CMySQLQuery::Execute[OnAccountCheck] - starting query execution [14:28:33] [DEBUG] CMySQLQuery::Execute[OnAccountCheck] - query was successfully executed within 0.465 milliseconds [14:28:33] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [14:28:33] [DEBUG] Calling callback "OnAccountCheck".. [14:28:33] [DEBUG] cache_get_data - connection: 1 [14:28:33] [DEBUG] cache_get_field_content - row: 0, field_name: "Password", connection: 1, max_len: 129 [14:28:33] [DEBUG] CMySQLResult::GetRowDataByName - row: '0', field: "Password", data: "50A09AF1575142623B1F8ABE28B433E108D6E8FCB3C7150F36DA7D0A359E22B7078EDC245278C84BEB1D3E634058D322399B9D29E2983F803C3F8B48507EC01E" [14:28:33] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [14:28:35] [DEBUG] mysql_format - connection: 1, len: 100, format: "SELECT * FROM `accounts` WHERE `Name` = '%e' LIMIT 1" [14:28:35] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `accounts` WHERE `Name` = 'Aspire5630' LIMIT 1", callback: "OnAccountLoad", format: "i" [14:28:35] [DEBUG] CMySQLQuery::Execute[OnAccountLoad] - starting query execution [14:28:35] [DEBUG] CMySQLQuery::Execute[OnAccountLoad] - query was successfully executed within 0.346 milliseconds [14:28:35] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [14:28:35] [DEBUG] Calling callback "OnAccountLoad".. [14:28:35] [DEBUG] cache_get_field_content_int - row: 2, field_name: "AdminLevel", connection: 1 [14:28:35] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('2') [14:28:35] [ERROR] cache_get_field_content_int - invalid datatype [14:28:35] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [14:28:39] [DEBUG] mysql_format - connection: 1, len: 128, format: "UPDATE `accounts` SET `AdminLevel` = '%d' WHERE `Name` = '%e'" [14:28:39] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts` SET `AdminLevel` = '0' WHERE `Name` = 'Aspire5", callback: "(null)", format: "(null)" [14:28:39] [DEBUG] CMySQLQuery::Execute[] - starting query execution [14:28:39] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 61.463 milliseconds [14:28:39] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving