[MXS-82] cmake warns when mariadb is compiled without mysql_release Created: 2015-04-01 Updated: 2015-06-17 Resolved: 2015-04-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.1 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Yuval Hager | Assignee: | Massimiliano Pinto (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
When maridb is built without specifying BUILD_CONFIG=mysql_release the compilation comment in mysql_version.h is not set to be MariaDB Server. It stays with the default Source distribution (set in mariadb:cmake/mysql_version.cmake). MaxScale's cmake checks the compilation comment in cmake/FindMySQL.cmake and spews a warning:
I think the build then continues successfully, but this warning is quite confusing. |
| Comments |
| Comment by markus makela [ 2015-04-30 ] |
|
Added a more descriptive warning. It now specifically states that a release version of MariaDB is not being used and if intentional, the warning should be ignored. |
| Comment by Timofey Turenko [ 2015-05-12 ] |
|
bug is connected to non-standard MariaDB/MySQL builds (not from mariadb.org). Checked manually: cmake shows warnings; Maxscale docs suggest to use MariaDB from mariadb.org. |