Bug #91114 Missing files in SLES mysql-community-devel
| Submitted: | 3 Jun 2018 10:21 | Modified: | 6 Jun 2018 12:35 |
|---|---|---|---|
| Reporter: | Peter VARGA | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: C API (client library) | Severity: | S1 (Critical) |
| Version: | 8.0.11 | OS: | SUSE |
| Assigned to: | CPU Architecture: | Any |
[3 Jun 2018 10:21]
Peter VARGA
[3 Jun 2018 20:36]
Terje Røsten
Hi! Thanks for your report! The -devel rpm packages are meant for building MySQL C API client applications: https://dev.mysql.com/doc/refman/8.0/en/c-api.html During development of MySQL 8.0 header files have been cleaned up, hence a much smaller set of header files are shipped, however building client applications with such set is fully supported.
[4 Jun 2018 8:14]
Peter VARGA
Hi, may be I am blind but I don't find in the provided link any suggestion what I have to include. How ever, the "cleaned-up" version - as you called it - break the whole project because all 'my_*' typedef's don't work any more like "my_bool". It would be nice when the documentation in the link would mention at least with one word what should be included and what changed. Can you provide me this information?
[6 Jun 2018 12:12]
Chiranjeevi Battula
Hello Peter VARGA, Thank you for your feedback. I fully agree with Terje as he rightly mentioned “During development of MySQL 8.0 header files have been cleaned up, hence a much smaller set of header files are shipped, however building client applications with such set is fully supported.“ Moreover, this is documented for example please take a look here https://dev.mysql.com/doc/refman/8.0/en/c-api-data-structures.html my_bool A boolean type, for values that are true (nonzero) or false (zero). The my_bool type was used before MySQL 8.0. As of MySQL 8.0, use the bool or int C type instead. Note The change from my_bool to bool means that the mysql.h header file requires a C++ or C99 compiler to compile. This was mentioned in the change log as well - Work was done to clean up the source code base, including: Removing unneeded CMake checks; removing unused macros from source files; reorganizing header files to reduce the number of dependencies and make them more modular, removing function declarations without definitions, replacing locally written functions with equivalent functions from industry-standard libraries. - https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-4.html#mysqld-8-0-4-compiling Thank you for your interest! Thanks, Chiranjeevi.
[6 Jun 2018 12:35]
Peter VARGA
Thank you Chiranjeevi very much for your further links. Even it is nowhere mentioned, I realized that the include file my_global.h has been removed. Also your statement regarding my_* confirmed my conclusion which lead to change these types to the C/C++ equivalent which I already have done in order it compiles successfully. Kind regards, Peter
[17 Sep 2018 5:22]
rose boey
Hi, the missing my_global.h (and other my_XXX.h header files) are also affecting my UDF installation for MySQL 8.0.11. May i know what is the workaround if these header files are not shipped with this RPM release?
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.