mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed compiler warnings
sql/item.h: Fixed wrong declaration storage/sphinx/ha_sphinx.h: Fixed arguments to read_time() storage/sphinx/snippets_udf.cc: Include mysql headerfile first to avoid compiler warnings
This commit is contained in:
@ -11,13 +11,6 @@
|
||||
// did not, you can find it at http://www.gnu.org/
|
||||
//
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <sys/un.h>
|
||||
#include <netdb.h>
|
||||
|
||||
#include <mysql_version.h>
|
||||
|
||||
#if MYSQL_VERSION_ID>50100
|
||||
@ -27,6 +20,13 @@
|
||||
#include "../mysql_priv.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <sys/un.h>
|
||||
#include <netdb.h>
|
||||
|
||||
#include <mysys_err.h>
|
||||
#include <my_sys.h>
|
||||
|
||||
|
Reference in New Issue
Block a user