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
ef930dca
Commit
ef930dca
authored
Mar 31, 2022
by
Nayuta Yanagisawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spider: Remove unnecessary files for Autotools
parent
f76da7f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
184 deletions
+0
-184
storage/spider/Makefile.am
storage/spider/Makefile.am
+0
-89
storage/spider/configure.in
storage/spider/configure.in
+0
-95
No files found.
storage/spider/Makefile.am
deleted
100644 → 0
View file @
f76da7f6
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/configure.in
deleted
100644 → 0
View file @
f76da7f6
AC_INIT([spider_engine], [1.0], [kentokushiba@gmail.com])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_TYPE_SIZE_T
AC_DEFUN([MYSQL_PATH_TEST],[
AC_MSG_CHECKING([mysql source path])
AC_ARG_WITH([mysql],
[AS_HELP_STRING([--with-mysql=PATH],[mysql source directory PATH])],
[
if test \
-f $withval/include/mysql/plugin.h -a \
-f $withval/include/mysql.h -a \
-f $withval/include/errmsg.h -a \
\( -f $withval/sql/mysql_priv.h -o -f $withval/sql/sql_priv.h \) ;
then
SPD_MYSQL_INC="$withval/"
AC_MSG_RESULT([yes])
plugin_spider_shared_target=""
AC_SUBST(plugin_spider_shared_target)
plugin_spider_static_target=""
AC_SUBST(plugin_spider_static_target)
PLUGIN_SPIDER_LTLIBRARIES_TARGET="ha_spider.la"
AC_SUBST(PLUGIN_SPIDER_LTLIBRARIES_TARGET)
PLUGIN_SPIDER_LIBRARIES_TARGET="libspider.a"
AC_SUBST(PLUGIN_SPIDER_LIBRARIES_TARGET)
LIBTOOL="$LIBTOOL --preserve-dup-deps"
AC_SUBST(LIBTOOL)
else
AC_MSG_ERROR([Can't find header files. Please check --with-mysql=PATH option])
fi
],
[
if test \
-f ../../include/mysql/plugin.h -a \
-f ../../include/mysql.h -a \
-f ../../include/errmsg.h -a \
\( -f ../../sql/mysql_priv.h -o ../../sql/sql_priv.h \) ;
then
SPD_MYSQL_INC="../../"
AC_MSG_RESULT([no])
else
AC_MSG_ERROR([Can't find header files. Please set --with-mysql=PATH option])
fi
]
)
])
MYSQL_PATH_TEST
AC_SUBST(SPD_MYSQL_INC)
AC_DEFUN([MYSQL_INCLUDE_PATH_TEST],[
AC_MSG_CHECKING([mysql include path])
AC_ARG_WITH([mysql-include],
[AS_HELP_STRING([--with-mysql-include=PATH],[mysql include directory PATH])],
[
if test \
-f $withval/mysql_version.h -a \
-f $withval/my_config.h ;
then
MYSQL_INCLUDE_PATH="-I $withval/"
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([Can't find "my_config.h". Please check --with-mysql-include=PATH option])
fi
],
[
if test \
-f ../../include/mysql_version.h -a \
-f ../../include/my_config.h ;
then
MYSQL_INCLUDE_PATH="-I ../../include/"
AC_MSG_RESULT([no])
else
AC_MSG_ERROR([Can't find "my_config.h". Please set --with-mysql-include=PATH option])
fi
]
)
])
MYSQL_INCLUDE_PATH_TEST
AC_SUBST(MYSQL_INCLUDE_PATH)
CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-exceptions -fno-rtti"
AC_CHECK_FUNCS([memset strchr strncasecmp])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
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