[MDEV-12270] port Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC 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

Epic Link: InnoDB fixes from MySQL

 Description   

InnoDB defines some functions that are not called at all. Other functions are called, but only from the same compilation unit.

Remove some function declarations and definitions, and add 'static' keywords. Some symbols must be kept for separately compiled tools, such as innochecksum.

Also, port the follow-up by Jon Olav Hauglid:

Bug#21153166: REMOVE UNUSED VARIABLES AND CONVERT GLOBAL SYMBOLS TO STATIC

Follow-up to
Bug#21141390: REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC
but for variables instead of functions.

Was identified with the -Wmissing-variable-declarations
compiler warning option supported by Clang 3.6.



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

bb-10.2-marko~ and bb-10.2-marko

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

ok to push.

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