[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 Was identified with the -Wmissing-variable-declarations |
| Comments |
| Comment by Marko Mäkelä [ 2017-03-16 ] |
| Comment by Jan Lindström (Inactive) [ 2017-03-17 ] |
|
ok to push. |