03.08.2016, 22:24
I get these mysql log errors about invalid row index:
Код:
[23:20:50] [DEBUG] mysql_connect - host: "localhost", user: "root", database: "genx", password: "****", port: 3306, autoreconnect: true, pool_size: 2 [23:20:50] [DEBUG] CMySQLHandle::Create - creating new connection.. [23:20:50] [DEBUG] CMySQLHandle::CMySQLHandle - constructor called [23:20:50] [DEBUG] CMySQLHandle::Create - connection created (id: 1) [23:20:50] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:20:50] [DEBUG] CMySQLConnection::Connect - connection was successful [23:20:50] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [23:20:50] [DEBUG] mysql_errno - connection: 1 [23:20:50] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:20:50] [DEBUG] CMySQLConnection::Connect - establishing connection to database... [23:20:50] [DEBUG] CMySQLConnection::Connect - connection was successful [23:20:50] [DEBUG] CMySQLConnection::Connect - connection was successful [23:20:50] [DEBUG] CMySQLConnection::Connect - connection was successful [23:20:50] [DEBUG] CMySQLConnection::Connect - auto-reconnect has been enabled [23:21:10] [DEBUG] mysql_format - connection: 1, len: 128, format: "SELECT `ID`, `Name` FROM `players` WHERE `Name` = '%s' LIMIT 1" [23:21:10] [DEBUG] mysql_tquery - connection: 1, query: "SELECT `ID`, `Name` FROM `players` WHERE `Name` = 'Diego_Javier'", callback: "CheckAccount", format: "i" [23:21:10] [DEBUG] CMySQLQuery::Execute[CheckAccount] - starting query execution [23:21:10] [DEBUG] CMySQLQuery::Execute[CheckAccount] - query was successfully executed within 1.55 milliseconds [23:21:10] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:21:10] [DEBUG] Calling callback "CheckAccount".. [23:21:10] [DEBUG] cache_get_data - connection: 1 [23:21:10] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [23:21:14] [DEBUG] mysql_format - connection: 1, len: 300, format: "INSERT INTO `players` (`Name`, `Password`, `Cash`) VALUES ('%s', '%s', %d)" [23:21:14] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `players` (`Name`, `Password`, `Cash`) VALUES ('Dieg", callback: "RegisterAccount", format: "i" [23:21:14] [DEBUG] CMySQLQuery::Execute[RegisterAccount] - starting query execution [23:21:14] [DEBUG] CMySQLQuery::Execute[RegisterAccount] - query was successfully executed within 26.512 milliseconds [23:21:14] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:21:14] [DEBUG] Calling callback "RegisterAccount".. [23:21:14] [DEBUG] cache_insert_id - connection: 1 [23:21:14] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [23:21:18] [DEBUG] mysql_format - connection: 1, len: 50, format: "SELECT * FROM `players` WHERE `Name` = '%e' LIMIT 1" [23:21:18] [DEBUG] mysql_tquery - connection: 1, query: "SELECT * FROM `players` WHERE `Name` = '' LIMIT 1", callback: "LoadAccount", format: "i" [23:21:18] [DEBUG] CMySQLQuery::Execute[LoadAccount] - starting query execution [23:21:18] [DEBUG] CMySQLQuery::Execute[LoadAccount] - query was successfully executed within 5.68 milliseconds [23:21:18] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:21:18] [DEBUG] Calling callback "LoadAccount".. [23:21:18] [DEBUG] cache_insert_id - connection: 1 [23:21:18] [DEBUG] cache_get_field_content - row: 1, field_name: "Name", connection: 1, max_len: 1 [23:21:18] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('1') [23:21:18] [DEBUG] cache_get_field_content_int - row: 3, field_name: "Cash", connection: 1 [23:21:18] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('3') [23:21:18] [ERROR] cache_get_field_content_int - invalid datatype [23:21:18] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called [23:21:23] [DEBUG] mysql_format - connection: 1, len: 126, format: "UPDATE `players` SET `Name`='%s', `Password`='%s', `Cash`=%d" [23:21:23] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `players` SET `Name`='', `Password`='', `Cash`=0", callback: "RegisterAccount", format: "i" [23:21:23] [DEBUG] CMySQLQuery::Execute[RegisterAccount] - starting query execution [23:21:23] [DEBUG] CMySQLQuery::Execute[RegisterAccount] - query was successfully executed within 14.788 milliseconds [23:21:23] [DEBUG] CMySQLResult::CMySQLResult() - constructor called [23:21:23] [DEBUG] Calling callback "RegisterAccount".. [23:21:23] [DEBUG] cache_insert_id - connection: 1 [23:21:23] [DEBUG] CMySQLResult::~CMySQLResult() - deconstructor called