The memory-total-size arg in the memory test should be 64-bit even on 32-bit platforms/binaries

Bug #657050 reported by Alexey Kopytov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sysbench
Status tracked in Trunk
0.4
New
Undecided
Unassigned
Trunk
New
Medium
Alexey Kopytov

Bug Description

memory-total-size is currently handled as size_t which is 4 bytes on 32-bit platforms. Since that is a limit for copied memory in memory-block-size blocks, it does not make sense to limit it 4 GB on 32-bit platforms. A 8-byte integer type should be used instead.

Changed in sysbench:
importance: Undecided → Medium
assignee: nobody → Alexey Kopytov (akopytov)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.