Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY
Marc Alff authored
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.
99f83c66
Name Last commit Last update
.bzr-mysql Fix tree setup: Wrong mailing list for commit mails.
BUILD Updated/added copyright headers
Docs INSTALL-BINARY placeholder (upmerge from 5.1): change invalid URLs (request from Kristofer)
client Updated/added copyright headers
cmake Updated/added copyright headers
cmd-line-utils weave merge of mysql-5.1->mysql-5.5
dbug Bug#14542543 FIX BUG #12694872 IN 5.5
extra Updated/added copyright headers
include Updated/added copyright headers
libmysql Bug #14553380 MYSQL C API LIBRARY EXITS AT NET_CLEAR AT NET_SERV.CC:223
libmysqld mysql_client_test did not build within limbysqld/examples
libservices Updated/added copyright headers
man Exclude NDB man pages from a source tarball,
mysql-test Bug#16103072 TEST MYSQL_PLUGIN USES UNSAFE WRITE_FILE TO WRITE
mysys Bug #11752803 SERVER CRASHES IF MAX_CONNECTIONS DECREASED BELOW
packaging Bug #13071597: MYSQL SERVER COMMUNITY TO ADVANCED USING MSI THE INSTALLER
plugin Bug#14238406 NEW COMPILATION WARNINGS WITH GCC 4.7 (-WERROR=NARROWING)
regex
scripts Merge from mysq-5.1 to mysql-5.5
sql-bench Updated/added copyright headers
sql-common Bug #12910665: AUTH-PLUGIN-DATA-LEN NOT TESTED FOR VALIDITY BY THE
sql Manual up-merge (16311231 backport)
storage Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY
strings Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING
support-files Removed Conflicts: mysql-libs mysql-libs-advanced from spec file
tests
unittest
vio
win
zlib
.bzrignore
BUILD-CMAKE
CMakeLists.txt
COPYING
INSTALL-SOURCE
INSTALL-WIN-SOURCE
README
VERSION
config.h.cmake
configure.cmake
MySQL Server 5.5

This is a release of MySQL, a dual-license SQL database server.
For the avoidance of doubt, this particular copy of the software 
is released under the version 2 of the GNU General Public License. 
MySQL is brought to you by Oracle.

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

License information can be found in the COPYING file.

MySQL FOSS License Exception
We want free and open source software applications under certain
licenses to be able to use specified GPL-licensed MySQL client
libraries despite the fact that not all such FOSS licenses are
compatible with version 2 of the GNU General Public License.  
Therefore there are special exceptions to the terms and conditions 
of the GPLv2 as applied to these client libraries, which are 
identified and described in more detail in the FOSS License 
Exception at 
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.

This distribution may include materials developed by third
parties. For license and attribution notices for these
materials, please refer to the documentation that accompanies
this distribution (see the "Licenses for Third-Party Components"
appendix) or view the online documentation at 
<http://dev.mysql.com/doc/>.

GPLv2 Disclaimer
For the avoidance of doubt, except that if any license choice
other than GPL or LGPL is available it will apply instead, 
Oracle elects to use only the General Public License version 2 
(GPLv2) at this time for any software where a choice of GPL 
license versions is made available with the language indicating 
that GPLv2 or any later version may be used, or where a choice 
of which version of the GPL is applied is otherwise unspecified.

For further information about MySQL or additional documentation, 
see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some Reference Manual sections of special interest:
- If you are migrating from an older version of MySQL, please 
  read the "Upgrading from..." section.
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading
  chapter.
- For the new features/bugfix history, see the MySQL Change History 
  appendix.

You can browse the MySQL Reference Manual online or download it 
in any of several formats at the URL given earlier in this file.
Source distributions include a local copy of the manual in the
Docs directory.