[MDEV-12271] port Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL Created: 2017-03-15  Updated: 2017-03-17  Resolved: 2017-03-17

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Fix Version/s: 10.2.5

Type: Task Priority: Major
Reporter: Rasmus Johansson (Inactive) Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: 10.2-ga

Issue Links:
Duplicate
is duplicated by MDEV-12268 port Bug#23150562 REMOVE UNIV_MUST_NO... Closed
Epic Link: InnoDB fixes from MySQL

 Description   

Also, remove empty .ic files that were not removed by my MySQL commit.

Problem:

InnoDB used to support a compilation mode that allowed to choose whether the function definitions in .ic files are to be inlined or not. This stopped making sense when InnoDB moved to C++ in MySQL 5.6 (and ha_innodb.cc started to #include .ic files), and more so in MySQL 5.7 when inline methods and functions were introduced in .h files.

Solution:

Remove all references to UNIV_NONINL and UNIV_MUST_NOT_INLINE from all files, assuming that the symbols are never defined. Remove the files fut0fut.cc and ut0byte.cc which only mattered when UNIV_NONINL was defined.



 Comments   
Comment by Marko Mäkelä [ 2017-03-16 ]

bb-10.2-marko

Comment by Jan Lindström (Inactive) [ 2017-03-16 ]

ok to push.

Generated at Thu Feb 08 07:56:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.