mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
e50412ef38
Add define YASSL_PREFIX when compiling yassl Import patch from yaSSL - avoid allocating memory for each call to 'EVP_md5' and 'EVP_des_ede3_cbc' which were not released until server was stopped - Those functions are used from the SQL function 'des_encrypt' and 'des_decrypt'. Add new define YASSL_PREFIX beforee including ssl.h to activate inclusion of prefix_*.h files Bug#20022 mysql-test-run can't be run with secure connections turned on for all testcases - Part 1, fixes rpl- and federated-tests where connection is made to 127.0.0.1 - Include prefix files that renames all public functions in yaSSLs OpenSSL API to ya<function_name>. They will otherwise conflict with OpenSSL functions if loaded by an application that uses OpenSSL as well as libmysqlclient with yaSSL support. Bug#18235: assertion/crash when windows mysqld is ended with ctrl-c Two threads both try a shutdown sequence which creates a race to the de-init/free of certain resources. This exists in similar form in the client as 17926: "mysql.exe crashes when ctrl-c is pressed in windows." Update after merge to 5.0 BUG#18669: Session COM_STATISTICS breaks mysqladmin status. Changed COM_STATISTICS to display the global status, instead of thead status, for slow queries and table opens. - In function 'handle_grant_struct' when searching the memory structures for an entry to modify, convert all entries here host.hostname is NULL to "" and compare that with the host passed in argument "user_from". - A user created with hostname "" is stored in "mysql.user" table as host="" but when loaded into memory it'll be stored as host.hostname NULL. Specifiying "" as hostname means that "any host" can connect. Thus is's correct to turn on allow_all_hosts when such a user is found. - Review and fix other places where host.hostname may be NULL. BUG#19394 OPT_INNODB_THREAD_CONCURRENCY duplicated Removed duplication (not a user-visible change)
53 lines
2 KiB
Makefile
53 lines
2 KiB
Makefile
# Copyright (C) 2000 MySQL AB
|
|
#
|
|
# 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; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
noinst_PROGRAMS = mysql
|
|
bin_PROGRAMS = mysqltest_embedded mysql_client_test_embedded
|
|
client_sources = $(mysqltest_embedded_SOURCES) $(mysql_SOURCES)
|
|
tests_sources = $(mysql_client_test_embedded_SOURCES)
|
|
CLEANFILES = $(client_sources) $(tests_sources)
|
|
|
|
link_sources:
|
|
set -x; \
|
|
for f in $(client_sources); do \
|
|
rm -f $$f; \
|
|
@LN_CP_F@ $(top_srcdir)/client/$$f $$f; \
|
|
done; \
|
|
for f in $(tests_sources); do \
|
|
rm -f $$f; \
|
|
@LN_CP_F@ $(top_srcdir)/tests/$$f $$f; \
|
|
done
|
|
|
|
DEFS = -DEMBEDDED_LIBRARY
|
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) \
|
|
-I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \
|
|
$(openssl_includes)
|
|
LIBS = @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@ $(yassl_libs)
|
|
LDADD = @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS)
|
|
|
|
mysqltest_embedded_LINK = $(CXXLINK)
|
|
mysqltest_embedded_SOURCES = mysqltest.c
|
|
mysqltest_embedded_LDADD = $(LDADD) $(top_builddir)/regex/libregex.a
|
|
|
|
mysql_SOURCES = mysql.cc readline.cc completion_hash.cc \
|
|
my_readline.h sql_string.h completion_hash.h
|
|
mysql_LDADD = @readline_link@ @TERMCAP_LIB@ $(LDADD)
|
|
|
|
mysql_client_test_embedded_LINK = $(CXXLINK)
|
|
mysql_client_test_embedded_SOURCES = mysql_client_test.c
|
|
|
|
# Don't update the files from bitkeeper
|
|
%::SCCS/s.%
|