maria:bb-10.3-danielblack-alloca_h_service-pkgtest

Last commit made on 2022-11-07
Get this branch:
git clone -b bb-10.3-danielblack-alloca_h_service-pkgtest https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-danielblack-alloca_h_service-pkgtest
Repository:
lp:maria

Recent commits

dff2b8c... by Daniel Black

service_encryption.h HAVE_ALLOC_H was global

Rather than global include for header files, we use
cmake to make service_encryption.h a generated file
and populate it with the discovery of ALLOCA_H or not.

Fixes: #2289
Closes: #2321

92be8d2... by Vladislav Vaintroub

MDEV-29951 server hang in crash handler

When trying to output stacktrace, and addr2line is not installed, the
child process forked by start_addr2line_fork() will fail to do exec(),
and finish with exit(1).

There is a problem with exit() though - it runs exit handlers,
and for the forked copy of crashing process, it is a bad idea.

In 10.5+ code for example, exit handlers include
tpool::task_group static destructors, and it will hang infinitely
waiting for completion of the outstanding tasks.

The fix is to use _exit() instead, which skips the execution of exit
handlers

e7be2d3... by Ian Gilfillan <email address hidden>

Fix duplicate entry in mysqld_safe man page

7d96cb4... by Brad Smith

Fix warning with signal typedef for *BSD

/usr/ports/pobj/mariadb-10.9.3/mariadb-10.9.3/mysys/my_lock.c:183:7: warning: incompatible function pointer types assigning to 'sig_return' (aka 'void (*)(void)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
      ALARM_INIT;
      ^~~~~~~~~~
/usr/ports/pobj/mariadb-10.9.3/mariadb-10.9.3/include/my_alarm.h:43:16: note: expanded from macro 'ALARM_INIT'
                        alarm_signal=signal(SIGALRM,my_set_alarm_variable);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/pobj/mariadb-10.9.3/mariadb-10.9.3/mysys/my_lock.c:189:7: warning: incompatible function pointer types passing 'sig_return' (aka 'void (*)(void)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
      ALARM_END;
      ^~~~~~~~~
/usr/ports/pobj/mariadb-10.9.3/mariadb-10.9.3/include/my_alarm.h:44:41: note: expanded from macro 'ALARM_END'
                                              ^~~~~~~~~~~~
/usr/include/sys/signal.h:199:27: note: passing argument to parameter here
void (*signal(int, void (*)(int)))(int);
                             ^
2 warnings generated.

The prototype is the same for all of the *BSD's.

void
(*signal(int sigcatch, void (*func)(int sigraised)))(int);

4ebc8d8... by Daniel Black

MDEV-29847: Wrong warning on rlimit capping of max_open_files (#2315)

Per the code my_set_max_open_files 3 lines earlier, we attempt
to set the nofile (number of open files), rlimit to max_open_files.

We should use this in the warning because wanted_files may not
be the number.

899cedb... by Brad Smith

Fix building my_gethwaddr() on OpenBSD

278fbe6... by Oleksandr "Sanja" Byelkin

Add skipped changes to oracle mode parser.

fa5f26b... by Andrew Hutchings

MDEV-29578 Fix CONNECT build warnings

Fix a couple of build warnings that fire with CONNECT engine.

055cb3f... by Brad Smith

Rocksdb: Add initial OpenBSD support

77951dd... by Alexey Botchkov

MDEV-26161 crash in Gis_point::calculate_haversine

More checks for bad geometry data added.