mariadb/storage/perfschema
Marc Alff fafa23dcc2 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
..
unittest Updated/added copyright headers 2011-06-30 17:46:53 +02:00
CMakeLists.txt
ha_perfschema.cc Updated/added copyright headers 2012-02-16 10:48:16 +01:00
ha_perfschema.h Bug#53696 Performance schema engine violates the PSEA API by calling my_error() 2010-12-01 13:06:41 +01:00
pfs.cc Updated/added copyright headers 2012-02-16 10:48:16 +01:00
pfs.h
pfs_atomic.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
pfs_atomic.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
pfs_check.cc
pfs_column_types.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
pfs_column_values.cc
pfs_column_values.h
pfs_engine_table.cc Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY 2013-02-28 13:19:15 +01:00
pfs_engine_table.h
pfs_events_waits.cc Bug#16060864 SEGMENTATION FAULT IN PERFORMANCE_SCHEMA WITH HISTORY SIZE 0 2013-01-02 11:00:55 +01:00
pfs_events_waits.h
pfs_global.cc Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY 2013-02-28 13:19:15 +01:00
pfs_global.h Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY 2013-02-28 13:19:15 +01:00
pfs_instr.cc Bug#13898343 THREAD LOOPS ENDLESSLY IN LF_PINBOX_PUT_PINS WHILE HOLDING 2012-03-28 17:54:30 +02:00
pfs_instr.h Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr_class.cc Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_instr_class.h Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
pfs_lock.h Bug#56760 PFS_lock::allocated_to_free() assert failures on osx10.5-x86-64bit 2010-11-16 09:36:42 +01:00
pfs_server.cc
pfs_server.h
pfs_stat.h
pfs_timer.cc Updated/added copyright headers 2011-06-30 17:46:53 +02:00
pfs_timer.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
table_all_instr.cc
table_all_instr.h
table_events_waits.cc Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED 2010-11-11 12:34:46 +01:00
table_events_waits.h
table_events_waits_summary.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_events_waits_summary.h
table_ews_global_by_event_name.cc Updated/added copyright headers 2012-02-16 10:48:16 +01:00
table_ews_global_by_event_name.h Updated/added copyright headers 2012-02-16 10:48:16 +01:00
table_file_instances.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_file_instances.h
table_file_summary.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_file_summary.h
table_performance_timers.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_performance_timers.h
table_setup_consumers.cc Bug#53696 Performance schema engine violates the PSEA API by calling my_error() 2010-12-01 13:06:41 +01:00
table_setup_consumers.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
table_setup_instruments.cc Bug#53696 Performance schema engine violates the PSEA API by calling my_error() 2010-12-01 13:06:41 +01:00
table_setup_instruments.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
table_setup_timers.cc Bug#53696 Performance schema engine violates the PSEA API by calling my_error() 2010-12-01 13:06:41 +01:00
table_setup_timers.h Updated/added copyright headers 2011-06-30 17:46:53 +02:00
table_sync_instances.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_sync_instances.h
table_threads.cc Bug#57609 performance_schema does not work with lower_case_table_names 2010-11-03 16:42:33 +01:00
table_threads.h