Details
Description
The MariaDB 10.11.6 `mysqld` doesn't link on Solaris:
```
Undefined first referenced
symbol in file
concurrency ../../sql/libsql.a(mysqld.cc.o)
```
This is from a call in `sql/mysqld.cc` (`mysql_main`):
```
(void) thr_setconcurrency(concurrency); // 10 by default
```
The `concurrency` variable had been ripped out in MDEV-18650 with the deprecation of `thread_concurrency`, but that has been incomplete. It seems that this issue wasn't noticed on other targets since `my_pthread.h` has:
```
#ifndef HAVE_THR_SETCONCURRENCY
#define thr_setconcurrency(A) pthread_dummy(0)
#endif
```
while Solaris *does* have `thr_setconcurrency`.
Given the previous (incomplete) removal, I've just removed this call as well.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | MDEV-33092-thr_setconcurrency.patch [ 72765 ] |
Assignee | Sergei Golubchik [ serg ] |
Fix Version/s | 10.4 [ 22408 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Testing [ 10301 ] |
Component/s | Compiling [ 11001 ] | |
Fix Version/s | 10.5.24 [ 29517 ] | |
Fix Version/s | 10.6.17 [ 29518 ] | |
Fix Version/s | 10.11.7 [ 29519 ] | |
Fix Version/s | 11.0.5 [ 29520 ] | |
Fix Version/s | 11.1.4 [ 29024 ] | |
Fix Version/s | 11.2.3 [ 29521 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Testing [ 10301 ] | Closed [ 6 ] |
Component/s | Server [ 13907 ] |
same as with other issues. We don't have Solaris in CI, but if you'll provide a patch, we'll apply it (providing it won't break anything else)