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
ed0b84a0
Commit
ed0b84a0
authored
Sep 04, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove libmysql/
also disable server's client plugins when C/C has the same
parent
4ba198c6
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
22 additions
and
585 deletions
+22
-585
libmysql/CMakeLists.txt
libmysql/CMakeLists.txt
+0
-427
libmysql/libmysql.def
libmysql/libmysql.def
+0
-107
libmysql/libmysql_versions.ld.in
libmysql/libmysql_versions.ld.in
+0
-33
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+1
-2
libmysqld/client_settings.h
libmysqld/client_settings.h
+3
-3
libmysqld/libmysql.c
libmysqld/libmysql.c
+1
-3
plugin/auth_dialog/CMakeLists.txt
plugin/auth_dialog/CMakeLists.txt
+4
-2
plugin/auth_examples/CMakeLists.txt
plugin/auth_examples/CMakeLists.txt
+5
-2
plugin/auth_gssapi/CMakeLists.txt
plugin/auth_gssapi/CMakeLists.txt
+7
-5
sql-common/conf_to_src.c
sql-common/conf_to_src.c
+0
-0
sql-common/errmsg.c
sql-common/errmsg.c
+0
-0
sql-common/get_password.c
sql-common/get_password.c
+0
-0
sql/CMakeLists.txt
sql/CMakeLists.txt
+1
-1
No files found.
libmysql/CMakeLists.txt
deleted
100644 → 0
View file @
4ba198c6
This diff is collapsed.
Click to expand it.
libmysql/libmysql.def
deleted
100644 → 0
View file @
4ba198c6
LIBRARY LIBMYSQL
VERSION 6.0
EXPORTS
load_defaults
mysql_thread_end
mysql_thread_init
myodbc_remove_escape
mysql_affected_rows
mysql_autocommit
mysql_stmt_bind_param
mysql_stmt_bind_result
mysql_change_user
mysql_character_set_name
mysql_close
mysql_commit
mysql_data_seek
mysql_debug
mysql_dump_debug_info
mysql_eof
mysql_errno
mysql_error
mysql_escape_string
mysql_hex_string
mysql_stmt_execute
mysql_stmt_fetch
mysql_stmt_fetch_column
mysql_fetch_field
mysql_fetch_field_direct
mysql_fetch_fields
mysql_fetch_lengths
mysql_fetch_row
mysql_field_count
mysql_field_seek
mysql_field_tell
mysql_free_result
mysql_get_client_info
mysql_get_host_info
mysql_get_proto_info
mysql_get_server_info
mysql_get_client_version
mysql_get_ssl_cipher
mysql_info
mysql_init
mysql_insert_id
mysql_kill
mysql_set_server_option
mysql_list_dbs
mysql_list_fields
mysql_list_processes
mysql_list_tables
mysql_more_results
mysql_next_result
mysql_num_fields
mysql_num_rows
mysql_options
mysql_stmt_param_count
mysql_stmt_param_metadata
mysql_ping
mysql_stmt_result_metadata
mysql_query
mysql_read_query_result
mysql_real_connect
mysql_real_escape_string
mysql_real_query
mysql_refresh
mysql_rollback
mysql_row_seek
mysql_row_tell
mysql_select_db
mysql_stmt_send_long_data
mysql_send_query
mysql_shutdown
mysql_ssl_set
mysql_stat
mysql_stmt_affected_rows
mysql_stmt_close
mysql_stmt_reset
mysql_stmt_data_seek
mysql_stmt_errno
mysql_stmt_error
mysql_stmt_free_result
mysql_stmt_num_rows
mysql_stmt_row_seek
mysql_stmt_row_tell
mysql_stmt_store_result
mysql_store_result
mysql_thread_id
mysql_thread_safe
mysql_use_result
mysql_warning_count
mysql_stmt_sqlstate
mysql_sqlstate
mysql_get_server_version
mysql_stmt_prepare
mysql_stmt_init
mysql_stmt_insert_id
mysql_stmt_attr_get
mysql_stmt_attr_set
mysql_stmt_field_count
mysql_set_local_infile_default
mysql_set_local_infile_handler
mysql_embedded
mysql_server_init
mysql_server_end
mysql_set_character_set
mysql_get_character_set_info
mysql_get_server_name
libmysql/libmysql_versions.ld.in
deleted
100644 → 0
View file @
4ba198c6
/*
This version script is heavily inspired by Fedora's and Mageia's version
scripts for MySQL client shared library.
But it was modified to support Debian-compatible versioning too.
In RedHat universe, symbols from old libmysqlclient.so.16
keep their libmysqlclient_16 version. New symbols added in
libmysqlclient.so.18 get the new libmysqlclient_18 version.
In Debian all symbols in libmysqlclient.so.18 have libmysqlclient_18 version,
including symbols that existed in libmysqlclient.so.16
We solve this by putting all symbols into libmysqlclient_18 version node,
but creating aliases for old symbols in the libmysqlclient_16 version node.
*/
@CLIENT_API_5_1_ALIASES@
/*
On Fedora the following symbols are exported, but renamed into a mysql_
namespace. We export them as aliases, but keep original symbols too. See
MDEV-4127.
*/
mysql_default_charset_info = default_charset_info;
mysql_get_charset = get_charset;
mysql_get_charset_by_csname = get_charset_by_csname;
mysql_net_realloc = net_realloc;
mysql_client_errors = client_errors;
@VERSION_HEADER@
@CLIENT_API_5_1_LIST@
@CLIENT_API_5_5_LIST@
@VERSION_FOOTER@
libmysqld/CMakeLists.txt
View file @
ed0b84a0
...
...
@@ -18,7 +18,6 @@ ADD_DEFINITIONS(-DMYSQL_SERVER -DEMBEDDED_LIBRARY
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/libmysql
${
CMAKE_SOURCE_DIR
}
/libmysqld
${
CMAKE_SOURCE_DIR
}
/sql
${
CMAKE_BINARY_DIR
}
/sql
...
...
@@ -37,7 +36,7 @@ ${CMAKE_BINARY_DIR}/sql/lex_hash.h
SET_SOURCE_FILES_PROPERTIES
(
${
GEN_SOURCES
}
PROPERTIES GENERATED TRUE
)
SET
(
SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
../libmysql/libmysql.c ../libmysql
/errmsg.c
libmysql.c ../sql-common
/errmsg.c
../sql-common/client.c
../sql-common/my_user.c ../sql-common/pack.c
../sql-common/client_plugin.c ../sql-common/mysql_async.c
...
...
libmysql/client_settings.h
→
libmysql
d
/client_settings.h
View file @
ed0b84a0
/* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
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 St, Fifth Floor, Boston, MA 02110-1301 USA */
...
...
libmysql/libmysql.c
→
libmysql
d
/libmysql.c
View file @
ed0b84a0
...
...
@@ -122,9 +122,7 @@ typedef struct st_mysql_stmt_extension
1 could not initialize environment (out of memory or thread keys)
*/
int
STDCALL
mysql_server_init
(
int
argc
__attribute__
((
unused
)),
char
**
argv
__attribute__
((
unused
)),
char
**
groups
__attribute__
((
unused
)))
int
STDCALL
mysql_server_init
(
int
argc
,
char
**
argv
,
char
**
groups
)
{
int
result
=
0
;
if
(
!
mysql_client_init
)
...
...
plugin/auth_dialog/CMakeLists.txt
View file @
ed0b84a0
...
...
@@ -14,5 +14,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
MYSQL_ADD_PLUGIN
(
dialog dialog.c
${
CMAKE_SOURCE_DIR
}
/libmysql/get_password.c
MODULE_ONLY CLIENT COMPONENT ClientPlugins
)
# disabled in favor of libmariadb/plugins/auth/dialog.c
#
#MYSQL_ADD_PLUGIN(dialog dialog.c ${CMAKE_SOURCE_DIR}/libmysql/get_password.c
# MODULE_ONLY CLIENT COMPONENT ClientPlugins)
plugin/auth_examples/CMakeLists.txt
View file @
ed0b84a0
...
...
@@ -29,5 +29,8 @@ MYSQL_ADD_PLUGIN(qa_auth_client qa_auth_client.c
MYSQL_ADD_PLUGIN
(
auth_0x0100 auth_0x0100.c MODULE_ONLY COMPONENT Test
)
MYSQL_ADD_PLUGIN
(
mysql_clear_password clear_password_client.c
MODULE_ONLY CLIENT COMPONENT ClientPlugins
)
# disabled in favor of
# libmariadb/plugins/auth/mariadb_cleartext.c
#
#MYSQL_ADD_PLUGIN(mysql_clear_password clear_password_client.c
# MODULE_ONLY CLIENT COMPONENT ClientPlugins)
plugin/auth_gssapi/CMakeLists.txt
View file @
ed0b84a0
...
...
@@ -38,8 +38,10 @@ MYSQL_ADD_PLUGIN(auth_gssapi server_plugin.cc ${GSSAPI_SERVER} ${GSSAPI_ERRMSG}
COMPONENT gssapi-server
MODULE_ONLY
)
MYSQL_ADD_PLUGIN
(
auth_gssapi_client client_plugin.cc
${
GSSAPI_CLIENT
}
${
GSSAPI_ERRMSG
}
LINK_LIBRARIES
${
GSSAPI_LIBS
}
COMPONENT gssapi-client
CLIENT
MODULE_ONLY
)
# disabled in favor of libmariadb/plugins/auth/auth_gssapi_client.c
#
#MYSQL_ADD_PLUGIN(auth_gssapi_client client_plugin.cc ${GSSAPI_CLIENT} ${GSSAPI_ERRMSG}
# LINK_LIBRARIES ${GSSAPI_LIBS COMPONENT ClientPlugins}
# COMPONENT gssapi-client
# CLIENT
# MODULE_ONLY)
libmysql
/conf_to_src.c
→
sql-common
/conf_to_src.c
View file @
ed0b84a0
File moved
libmysql
/errmsg.c
→
sql-common
/errmsg.c
View file @
ed0b84a0
File moved
libmysql
/get_password.c
→
sql-common
/get_password.c
View file @
ed0b84a0
File moved
sql/CMakeLists.txt
View file @
ed0b84a0
...
...
@@ -79,7 +79,7 @@ ENDIF()
SET
(
SQL_SOURCE
../sql-common/client.c compat56.cc derror.cc des_key_file.cc
discover.cc ../
libmysql/errmsg.c field.cc field_conv.cc
discover.cc ../
sql-common/errmsg.c field.cc field_conv.cc
filesort_utils.cc
filesort.cc gstream.cc sha2.cc
signal_handler.cc
...
...
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