Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
69874ee9
Commit
69874ee9
authored
Sep 30, 2024
by
Yuchen Pei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-34828 Remove some obsolete cmake code related to the removed spider handlersocket support
A fixup of MDEV-26858
parent
95d285fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
119 deletions
+4
-119
storage/spider/CMakeLists.txt
storage/spider/CMakeLists.txt
+0
-5
storage/spider/Makefile.am
storage/spider/Makefile.am
+0
-89
storage/spider/hs_client/hs_compat.h
storage/spider/hs_client/hs_compat.h
+0
-24
storage/spider/spd_db_include.h
storage/spider/spd_db_include.h
+4
-1
No files found.
storage/spider/CMakeLists.txt
View file @
69874ee9
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"
)
...
...
@@ -45,8 +42,6 @@ IF(EXISTS ${PROJECT_SOURCE_DIR}/storage/mysql_storage_engine.cmake)
ELSEIF
(
PLUGIN_PARTITION MATCHES
"^NO$"
)
MESSAGE
(
STATUS
"Spider is skipped because partitioning is disabled"
)
ELSE
()
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/storage/spider/hs_client
)
IF
(
DEB
)
SET
(
extra_options COMPONENT spider-engine
)
ELSE
()
...
...
storage/spider/Makefile.am
deleted
100644 → 0
View file @
95d285fb
HAVE_HANDLERSOCKET
=
"-DHAVE_HANDLERSOCKET"
pkgplugindir
=
$(pkglibdir)
/plugin
INCLUDES
=
-I
$(SPD_MYSQL_INC)$(top_srcdir)
/include
\
-I
$(SPD_MYSQL_INC)$(top_srcdir)
/regex
\
-I
$(SPD_MYSQL_INC)$(top_srcdir)
/sql
\
-I
$(SPD_MYSQL_INC)$(top_srcdir)
/extra/yassl/include
\
-I
./hs_client
\
$(MYSQL_INCLUDE_PATH)
\
$(HANDLERSOCKET_INCLUDE_PATH)
noinst_HEADERS
=
ha_spider.h spd_conn.h spd_db_conn.h
\
spd_db_include.h spd_err.h spd_sys_table.h
\
spd_table.h spd_trx.h spd_include.h spd_param.h
\
spd_direct_sql.h spd_udf.h spd_ping_table.h
\
spd_copy_tables.h spd_malloc.h
\
spd_db_mysql.h spd_db_handlersocket.h
\
hs_client/allocator.hpp hs_client/config.hpp
\
hs_client/mutex.hpp hs_client/string_util.hpp
\
hs_client/auto_addrinfo.hpp hs_client/escape.hpp
\
hs_client/socket.hpp hs_client/thread.hpp
\
hs_client/auto_file.hpp hs_client/fatal.hpp
\
hs_client/string_buffer.hpp hs_client/util.hpp
\
hs_client/auto_ptrcontainer.hpp
\
hs_client/hstcpcli.hpp hs_client/string_ref.hpp
\
hs_client/hs_compat.h
lib_LTLIBRARIES
=
$(PLUGIN_SPIDER_LTLIBRARIES_TARGET)
EXTRA_LTLIBRARIES
=
ha_spider.la
pkgplugin_LTLIBRARIES
=
@plugin_spider_shared_target@
ha_spider_la_LDFLAGS
=
-shared
-module
-rpath
$(pkgplugindir)
ha_spider_la_CXXFLAGS
=
$(AM_CXXFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
\
$(HAVE_HANDLERSOCKET)
ha_spider_la_CFLAGS
=
$(AM_CFLAGS)
-DMYSQL_DYNAMIC_PLUGIN
\
$(HAVE_HANDLERSOCKET)
ha_spider_la_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
\
spd_copy_tables.cc
\
spd_i_s.cc
\
spd_malloc.cc
\
ha_spider.cc
\
spd_db_mysql.cc
\
spd_db_handlersocket.cc
\
hs_client/config.cpp
\
hs_client/escape.cpp
\
hs_client/fatal.cpp
\
hs_client/hstcpcli.cpp
\
hs_client/socket.cpp
\
hs_client/string_util.cpp
lib_LIBRARIES
=
$(PLUGIN_SPIDER_LIBRARIES_TARGET)
EXTRA_LIBRARIES
=
libspider.a
noinst_LIBRARIES
=
@plugin_spider_static_target@
libspider_a_CXXFLAGS
=
$(AM_CXXFLAGS)
$(HAVE_HANDLERSOCKET)
libspider_a_CFLAGS
=
$(AM_CFLAGS)
$(HAVE_HANDLERSOCKET)
libspider_a_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
\
spd_copy_tables.cc
\
spd_i_s.cc
\
spd_malloc.cc
\
ha_spider.cc
\
spd_db_mysql.cc
\
spd_db_handlersocket.cc
\
hs_client/config.cpp
\
hs_client/escape.cpp
\
hs_client/fatal.cpp
\
hs_client/hstcpcli.cpp
\
hs_client/socket.cpp
\
hs_client/string_util.cpp
EXTRA_DIST
=
plug.in
# Don't update the files from bitkeeper
%
::
SCCS/s.%
storage/spider/hs_client/hs_compat.h
deleted
100644 → 0
View file @
95d285fb
/* Copyright (C) 2013-2018 Kentoku Shiba
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
#ifndef HS_COMPAT_H
#define HS_COMPAT_H
#define SPD_INIT_DYNAMIC_ARRAY2(A, B, C, D, E, F) \
my_init_dynamic_array2(PSI_INSTRUMENT_ME, A, B, C, D, E, F)
#define SPD_INIT_ALLOC_ROOT(A, B, C, D) \
init_alloc_root(PSI_INSTRUMENT_ME, A, B, C, D)
#endif
storage/spider/spd_db_include.h
View file @
69874ee9
...
...
@@ -14,7 +14,10 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
#include "hs_compat.h"
#define SPD_INIT_DYNAMIC_ARRAY2(A, B, C, D, E, F) \
my_init_dynamic_array2(PSI_INSTRUMENT_ME, A, B, C, D, E, F)
#define SPD_INIT_ALLOC_ROOT(A, B, C, D) \
init_alloc_root(PSI_INSTRUMENT_ME, A, B, C, D)
#define SPIDER_DBTON_SIZE 15
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment