Commit c1ebb4a6 authored by Sergei Golubchik's avatar Sergei Golubchik

compiler warnings in spider

parent 16c01c70
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_HANDLERSOCKET")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHAVE_HANDLERSOCKET")
IF(HAVE_WVLA)
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wno-vla")
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wno-vla")
ENDIF()
SET(SPIDER_SOURCES
spd_param.cc spd_sys_table.cc spd_trx.cc spd_db_conn.cc spd_conn.cc
spd_table.cc spd_direct_sql.cc spd_udf.cc spd_ping_table.cc
......
......@@ -10967,7 +10967,7 @@ bool ha_spider::is_crashed() const
DBUG_RETURN(FALSE);
}
bool ha_spider::auto_repair() const
bool ha_spider::auto_repair(int) const
{
DBUG_ENTER("ha_spider::auto_repair");
DBUG_PRINT("info",("spider this=%p", this));
......
......@@ -682,7 +682,7 @@ class ha_spider: public handler
const char *name
);
bool is_crashed() const;
bool auto_repair() const;
bool auto_repair(int) const;
int disable_indexes(
uint mode
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment