Bug #80549 | violite.h and other headers missing in mysql-community-devel | ||
---|---|---|---|
Submitted: | 28 Feb 2016 23:03 | Modified: | 30 Nov 2018 5:22 |
Reporter: | Justin Swanhart | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: User-defined functions ( UDF ) | Severity: | S1 (Critical) |
Version: | 5.7.11, 5.7.13 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[28 Feb 2016 23:03]
Justin Swanhart
[29 Feb 2016 1:08]
Justin Swanhart
I can compile my code with 5.7 when I add the following to my header file before including plugin.h #define MYSQL_ABI_CHECK
[4 Mar 2016 11:43]
MySQL Verification Team
Hi Justin, Thank you for the report. I tried to reproduce this issue on a freshly built Fedora23(updated) instance but I'm not seeing any of the reported issue(no error but seeing warnings). I'm attaching the build log for your reference. Is there anything else required to trigger this issue? Please let me know. Regards, Umesh
[4 Mar 2016 11:44]
MySQL Verification Team
Build log
Attachment: 80549.results (application/octet-stream, text), 735.55 KiB.
[5 Apr 2016 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[21 Jul 2016 4:21]
dx dx
Can reproduce this issue with libmysqlclient 5.7.13 libmysqlclient 5.6.31 doesn't have this issue. libmariadbclient 10.1.14 doesn't have this issue. Minimal test case: echo 'int main(){};' | gcc $(mysql_config --cflags) -include plugin.h -xc - The test case in the description needs a revert to the commit that added a workaround for this: git clone git@github.com:greenlion/FastBit_UDF.git git revert e311b1982b9665a89b87f6b55f3d426ec441e69a make
[23 Jul 2016 14:35]
Justin Swanhart
Feedback was provided by another user.
[25 Jul 2016 6:01]
MySQL Verification Team
thank you for the feedback! lient-dev 5.7.13-1ubuntu16.04 amd64 MySQL development headers ii libmysqlclient20:amd64 5.7.13-1ubuntu16.04 amd64 MySQL shared client libraries ii mysql-apt-config 0.7.3-1 all Auto configuration for MySQL APT Repo. ii mysql-common 5.7.13-1ubuntu16.04 amd64 MySQL configuration for client and server . . ushastry@ubuntu1604lts:~/Downloads/apps$ ushastry@ubuntu1604lts:~/Downloads/apps$ echo 'int main(){};' | gcc $(mysql_config --cflags) -include plugin.h -xc - In file included from /usr/include/mysql/mysql/services.h:26:0, from /usr/include/mysql/plugin.h:59, from <command-line>:1: /usr/include/mysql/mysql/service_srv_session_info.h:31:53: fatal error: violite.h: No such file or directory compilation terminated.
[6 Dec 2016 11:36]
Tor Didriksen
Posted by developer: You should not need <plugin.h> to build your UDF library. I did this change, and it builds just fine (this is current head of MySQL 5.7) #include <iomanip> // std::setprecision //#define MYSQL_ABI_CHECK #include <mysql_com.h>