← Back to team overview

ourdelta-developers team mailing list archive

[Bug 284123] Re: Variables out of bounds on 32bit

 

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)

-- 
Variables out of bounds on 32bit
https://bugs.launchpad.net/bugs/284123
You received this bug notification because you are a member of OurDelta-
developers, which is the registrant for OurDelta.

Status in OurDelta - Builds for MySQL: Confirmed

Bug description:
When installing on 32bit Ubuntu Hardy and Debian Etch, the server issues a warning about variables that appear to default to 64bit integer values. These warnings are not displayed on 64bit hardy and etch.

Setting up mysql-server-5.0 (5.0.67-d6ourdelta15) ...
Stopping MySQL database server: mysqld.
081016 17:47:00 [Warning] option 'log_slow_rate_limit': unsigned value 18446744073709551615 adjusted to 4294967295
081016 17:47:00 [Warning] option 'min_examined_row_limit': unsigned value 18446744073709551615 adjusted to 4294967295
Starting MySQL database server: mysqld.



References