General solution:
BIG_TABLES needs to go away, along with its autoconf m4 rules.
ha_rows should simply be typedef to system's off_t type.
New flag for my_getopt, GET_HAROWS maybe, as its size may vary on different architectures.
Check that cmd line opts which are ha_rows type are correctly using new flag instead of GET_ULONG.
(There was a similar issue years ago which lead to the creation of SHOW_HA_ROWS for system variables)
General solution:
BIG_TABLES needs to go away, along with its autoconf m4 rules.
ha_rows should simply be typedef to system's off_t type.
New flag for my_getopt, GET_HAROWS maybe, as its size may vary on different architectures.
Check that cmd line opts which are ha_rows type are correctly using new flag instead of GET_ULONG.
(There was a similar issue years ago which lead to the creation of SHOW_HA_ROWS for system variables)