Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CBRD-25018] In case of unsigned tinyint in mysql and mariadb, error … (
#4706) http://jira.cubrid.org/browse/CBRD-25018 Purpose In the case of unsigned tinyint in mysql and mariadb, an error occurred when retrieving the value as smallint type. When the Gateway requested a value from ODBC, it requested a smallint. At this time, if the value was 127 or higher, 0xFF was added in front of the value and an incorrect value was delivered. For example, if you input 225 into unsigned tinyint and read the value, it should return 225 (0xE1), but in reality, it returns 65505 (0xFFE1). For reference, values 1 to 127 are returned as 1(0x01) to 127(0xF7). In the case of unsigned tinyint, when requesting a value from ODBC, it needs to be changed to request tinyint. Implementation N/A Remarks N/A
- Loading branch information