[ODBC-411] types.c > t_nobigint test case fails in bigendian Created: 2024-02-02  Updated: 2024-02-02

Status: Open
Project: MariaDB Connector/ODBC
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Shubham Assignee: Lawrin Novitsky
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-56-generic
Architecture: s390x



 Description   

Conversion of hex in bigendian is not correct using nobigint flag. Hence results in failing of t_nobigint UT. The test passes for littleendian. I understand the support of s390x is not in scope but having a fix would help.

Below is the error summary

DSN=maodbc_test;UID=root;PWD={********};PORT=3306;DATABASE=test;OPTION=67108866;SERVER=localhost;NOBIGINT=1
/home/linux1/workspace/mariadb-connector-odbc/test/types.c 327: 0xFFFFFFFF0000000F(-4294967281)!=id(68719476735)


Generated at Thu Feb 08 03:28:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.