[MDEV-15291] OQGraph fails to build on FreeBSD Created: 2018-02-12 Updated: 2018-04-06 Resolved: 2018-04-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - OQGRAPH |
| Affects Version/s: | 10.0.34, 10.2.12, 10.1.31, 10.3.5 |
| Fix Version/s: | 10.0.35 |
| Type: | Bug | Priority: | Major |
| Reporter: | Bernard Spil | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, foundation | ||
| Environment: |
FreeBSD 11.1 amd64 |
||
| Description |
|
When building the OQGRAPH engine, it errors out
Not sure from where OQGraph expects the bitset defined from but this is broken now. |
| Comments |
| Comment by Bernard Spil [ 2018-02-12 ] | |
|
Just checked Ubuntu and there setbit also requires 2 arguments
| |
| Comment by Bernard Spil [ 2018-02-13 ] | |
|
As both FreeBSD and Linux define setbit(a,i) in sys/param.h it seems sensible to rename the methods in OQGraph Judy to avoid collision. I've created a pull-request for this (prefixing with j but perhaps prefix Judy, or just _, would make more sense) https://github.com/MariaDB/server/pull/611 | |
| Comment by Bernard Spil [ 2018-02-27 ] | |
|
Duplicate of |