[MDEV-30700] Multiple alloca definitions in different files Created: 2023-02-21  Updated: 2023-03-13  Resolved: 2023-03-07

Status: Closed
Project: MariaDB Server
Component/s: Server
Fix Version/s: 10.11.3, 10.4.29, 10.5.20, 10.6.13, 10.8.8, 10.9.6, 10.10.4

Type: Task Priority: Major
Reporter: Julius Goryavsky Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Issue split

 Description   

We need to move the definition for alloca() into a separate h-file and include it from several places, as already done for ES editions. Because now it is included every time in a new way in different plugins, and with its own specifics in service_encryption, my_global, my_sys... If we leave it as it is - then some kind of desynchronization will be occurred from time to time - that in one of the operating systems like FreeBSD it will require us to do it differently, f.e. under new #ifdefs - but we may not correct one of plugins in this regard, and then something is not going as it should.



 Comments   
Comment by Julius Goryavsky [ 2023-03-07 ]

Merged: https://github.com/MariaDB/server/commit/46a7e96339d166fee60f80f03a8cf9281b42aa32
https://github.com/MariaDB/server/commit/1e58b8afc086da755cf9209ed17fc36351da5563

Generated at Thu Feb 08 10:18:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.