Skip to content

Commit

Permalink
db_mysql: remove build warning, unneeded include (#1777)
Browse files Browse the repository at this point in the history
db_mysql: mysql_version.h is already included at mysql.h (GH #1777)

> In file included from km_dbase.c:38:
> /usr/include/mariadb/mysql_version.h:3:2: warning: This file should not be included by clients, include only <mysql.h> [-W#warnings]
> #warning This file should not be included by clients, include only <mysql.h>
  • Loading branch information
linuxmaniac authored and henningw committed Dec 27, 2018
1 parent 3b157cd commit 5726349
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modules/db_mysql/km_dbase.c
Expand Up @@ -35,7 +35,6 @@
#include <string.h>
#include <mysql.h>
#include <errmsg.h>
#include <mysql_version.h>
#include "../../core/mem/mem.h"
#include "../../core/dprint.h"
#include "../../core/async_task.h"
Expand Down

0 comments on commit 5726349

Please sign in to comment.