dff2b8c...
by
Daniel Black
on 2022-11-07
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
on 2022-11-05
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>
on 2022-11-02
Fix duplicate entry in mysqld_safe man page
7d96cb4...
by
Brad Smith
on 2022-10-30
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
on 2022-10-28
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
on 2022-10-26
Fix building my_gethwaddr() on OpenBSD
278fbe6...
by
Oleksandr "Sanja" Byelkin
on 2022-10-26
Add skipped changes to oracle mode parser.
fa5f26b...
by
Andrew Hutchings
on 2022-09-22
MDEV-29578 Fix CONNECT build warnings
Fix a couple of build warnings that fire with CONNECT engine.
055cb3f...
by
Brad Smith
on 2022-10-23
Rocksdb: Add initial OpenBSD support
77951dd...
by
Alexey Botchkov
on 2022-10-25
MDEV-26161 crash in Gis_point: :calculate_ haversine
More checks for bad geometry data added.