mariadb/storage
Marc Alff 99f83c6684 Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY
Before this fix, the command
  SHOW ENGINE PERFORMANCE_SCHEMA STATUS
could report wrong amount of memory allocated,
when the amount of memory used exceeds 4GB.

The problem is that size computations are not done using size_t,
so that overflows do occur, truncating the results.

This fix compute memory sizes properly with size_t.

Tested manually.

No test script provided, as the script would need to allocate too much 
memory for the test.
2013-02-28 13:19:15 +01:00
..
archive Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
blackhole Merge 5.5.24 back into main 5.5. 2012-05-07 22:20:42 +02:00
csv Updated/added copyright headers 2012-02-16 10:48:16 +01:00
example Bug#11815557 60269: MYSQL SHOULD REJECT ATTEMPTS TO CREATE SYSTEM 2012-04-11 15:53:17 +05:30
federated Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
heap Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
innobase Bug #16305265 HANG IN RENAME TABLE 2013-02-27 12:44:58 -06:00
myisam Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
myisammrg Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
ndb Updated/added copyright headers. 2013-02-25 15:26:00 +01:00
perfschema Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY 2013-02-28 13:19:15 +01:00