summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-27 11:34:53 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-27 11:54:34 +0200
commit828cc2ba7cdbe47c55fd679437e6e7f0bc714dff (patch)
tree08440a6e0a96bbaa966c2d3af4691f6a8176eec3 /sql/sql_statistics.cc
parent1933cf98e842f97e11f69afc631638618ec16068 (diff)
downloadmariadb-git-828cc2ba7cdbe47c55fd679437e6e7f0bc714dff.tar.gz
MDEV-18417/MDEV-18656/MDEV-18417: Work around compiler ASAN bug
In a Ubuntu Xenial build environment, the compiler identified as g++-5.real (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 seems to be emitting incorrect code for the compilation unit trx0rec.cc, triggering a bogus-looking AddressSanitizer report of an invalid read of something in the function trx_undo_rec_get_pars(). This is potentially affecting any larger tests where the InnoDB purge subsystem is being exercised. When the optimization level of trx0rec.cc is limited to -O1, no bogus failure is being reported. With -O2 or -O3, a lot of things seemed to be inlined in the function, and the disassembly of the generated code did not make sense to me.
Diffstat (limited to 'sql/sql_statistics.cc')
0 files changed, 0 insertions, 0 deletions