02.07.2013, 18:50
I don't know currently which version is on the host, but this is not imporant.
The big problem is the cache_get_row_int() or I think float and etc doesn't support "enum" data types.
Some rows in my DB looks like this, example: "level enum('0', '1', '2', '3', '4')" and value: '4'.
If i want to get this value, then then this will be in the debug:
This is good, any older version doesn't have any problem with this. Please fix this, thanks!
And would be very good to add MySQL query to the debug, if LOG_DEBUG is enabled, because now very hard to find where the problem.
The big problem is the cache_get_row_int() or I think float and etc doesn't support "enum" data types.
Some rows in my DB looks like this, example: "level enum('0', '1', '2', '3', '4')" and value: '4'.
If i want to get this value, then then this will be in the debug:
Code:
[20:49:40] [DEBUG] CMySQLResult::GetRowData - row: '0', field: '7', data: "4" [20:49:40] [ERROR] cache_get_row_int - invalid data type [20:49:40] [DEBUG] cache_get_row_int - connection handle: 1
And would be very good to add MySQL query to the debug, if LOG_DEBUG is enabled, because now very hard to find where the problem.