[MDEV-4174] MariaDB 5.5 thread pool code fails to build on OpenBSD / NetBSD / DragonFly Created: 2013-02-15 Updated: 2013-06-14 Resolved: 2013-02-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.29 |
| Fix Version/s: | 5.5.30 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OpenBSD |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
The thread pool code within MariaDB 5.5 and other newer/older releases fails to build on OpenBSD / NetBSD / DragonFly, etc. These other *BSD OS's also have kqueue support. The attached patch adds the other *BSD OS's to the #if def's within the code to make the code build. |
| Comments |
| Comment by Vladislav Vaintroub [ 2013-02-19 ] |
|
Brad, |
| Comment by Brad Smith [ 2013-02-19 ] |
|
Duhh. Of course that is the better approach |
| Comment by Brad Smith [ 2013-02-19 ] |
|
This builds fine. Also does it make sense to have the #error directive at the top and one further down? One of them should be good enough and the one near the top is more visible when you first open the file in an editor. Thanks. |
| Comment by Vladislav Vaintroub [ 2013-02-20 ] |
|
Yes, you're right about #error . I now left just one on top, removed second. Thanks. |