Skip to content
  • Horst Hunger's avatar
    6e56b536
    Bug #22180131 (TEST_SERVICE_SQL_API SUITE FAILS ON SEVERAL BIG ENDIAN · 6e56b536
    Horst Hunger authored
    PLATFORMS):
    Instead of int/uint longlong/ulonglong were used, which is working on 64-bit platforms,
    but not on 32-bit platforms as casting from longlong to int differs. I
    changed the (u)longlong to (u)int got affedted_rows and last_insert_id. In sql_get_integer
    I modified %lld in printf format to %d if it is casted to sql_int_value.
    
    (cherry picked from commit 7077f87a4870c1a9ad70a93d29fcf1828c68ca28)
    6e56b536
    Bug #22180131 (TEST_SERVICE_SQL_API SUITE FAILS ON SEVERAL BIG ENDIAN
    Horst Hunger authored
    PLATFORMS):
    Instead of int/uint longlong/ulonglong were used, which is working on 64-bit platforms,
    but not on 32-bit platforms as casting from longlong to int differs. I
    changed the (u)longlong to (u)int got affedted_rows and last_insert_id. In sql_get_integer
    I modified %lld in printf format to %d if it is casted to sql_int_value.
    
    (cherry picked from commit 7077f87a4870c1a9ad70a93d29fcf1828c68ca28)
Loading