Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL)
-
AIX
Description
Compilation error:
mariadb-10.4.3/sql/mysqld.cc:3272:36: error: 'SI_KERNEL' was not declared in this scope
|
if (!abort_loop && origin != SI_KERNEL)
|
Attachments
Issue Links
- blocks
-
MDEV-20178 MariaDB server does not compile on AIX
-
- Closed
-
- relates to
-
MDEV-19512 Foundation: MCAs patches
-
- Closed
-
- links to
I reviewed svoj's patch a while ago and IIRC the only concern I had at that time was whether or not `setsid()` would affect the distribution of signals, and potentially break parts of the server or multi-process setups such as Galera or Debian scripts or even external unknown-to-us scripts that rely on signals happening in a particular way.
Svoj argued that windows and embedded are not affected and that systemd/launchd should work.
The question is how do we test the patch to make sure at least scripts we can control don't break?
Elena suggested that testing this is "as whitebox as it gets" and that, in terms of external scripts we don't control, we should also think if we want to guarantee any specific behavior upon sending any specific signals.
Can danblack or serg help with any suggestions on this?