mysqld.cc:
Corrects build problems embedded on Windows Makefile.am: Install .sym or mysqld-debug if exists query_cache_debug.test, query_cache_debug.result: Set more resonable query cache size (bug#35749) CMakeLists.txt: Added missing stacktrace.c mysql-test/r/query_cache_debug.result: Set more resonable query cache size (bug#35749) mysql-test/t/query_cache_debug.test: Set more resonable query cache size (bug#35749) libmysqld/CMakeLists.txt: Added missing stacktrace.c sql/Makefile.am: Install .sym or mysqld-debug if exists sql/mysqld.cc: Corrects build problems embedded on Windows
This commit is contained in:
parent
c8c28c5015
commit
60e5661361
@ -187,7 +187,7 @@ SET(LIBMYSQLD_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
|
|||||||
../sql/strfunc.cc ../sql/table.cc ../sql/thr_malloc.cc
|
../sql/strfunc.cc ../sql/table.cc ../sql/thr_malloc.cc
|
||||||
../sql/time.cc ../sql/tztime.cc ../sql/uniques.cc ../sql/unireg.cc
|
../sql/time.cc ../sql/tztime.cc ../sql/uniques.cc ../sql/unireg.cc
|
||||||
../sql/partition_info.cc ../sql/sql_connect.cc
|
../sql/partition_info.cc ../sql/sql_connect.cc
|
||||||
../sql/scheduler.cc
|
../sql/scheduler.cc ../sql/stacktrace.c
|
||||||
${GEN_SOURCES}
|
${GEN_SOURCES}
|
||||||
${LIB_SOURCES})
|
${LIB_SOURCES})
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
flush status;
|
flush status;
|
||||||
set query_cache_type=DEMAND;
|
set query_cache_type=DEMAND;
|
||||||
set global query_cache_size= 1024*1024*512;
|
set global query_cache_size= 1024*768;
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
create table t1 (a varchar(100));
|
create table t1 (a varchar(100));
|
||||||
insert into t1 values ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'),('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb');
|
insert into t1 values ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'),('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb');
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
flush status;
|
flush status;
|
||||||
set query_cache_type=DEMAND;
|
set query_cache_type=DEMAND;
|
||||||
set global query_cache_size= 1024*1024*512;
|
set global query_cache_size= 1024*768;
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop table if exists t1;
|
drop table if exists t1;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
|
@ -54,7 +54,7 @@ noinst_HEADERS = item.h item_func.h item_sum.h item_cmpfunc.h \
|
|||||||
procedure.h sql_class.h sql_lex.h sql_list.h \
|
procedure.h sql_class.h sql_lex.h sql_list.h \
|
||||||
sql_map.h sql_string.h unireg.h \
|
sql_map.h sql_string.h unireg.h \
|
||||||
sql_error.h field.h handler.h mysqld_suffix.h \
|
sql_error.h field.h handler.h mysqld_suffix.h \
|
||||||
sql_profile.h \
|
sql_profile.h \
|
||||||
ha_ndbcluster.h ha_ndbcluster_cond.h \
|
ha_ndbcluster.h ha_ndbcluster_cond.h \
|
||||||
ha_ndbcluster_binlog.h ha_ndbcluster_tables.h \
|
ha_ndbcluster_binlog.h ha_ndbcluster_tables.h \
|
||||||
ha_partition.h rpl_constants.h \
|
ha_partition.h rpl_constants.h \
|
||||||
@ -178,6 +178,12 @@ lex_hash.h: gen_lex_hash.cc lex.h
|
|||||||
udf_example_la_SOURCES= udf_example.c
|
udf_example_la_SOURCES= udf_example.c
|
||||||
udf_example_la_LDFLAGS= -module -rpath $(pkglibdir)
|
udf_example_la_LDFLAGS= -module -rpath $(pkglibdir)
|
||||||
|
|
||||||
|
# We might have some stuff not built in this build, but that we want to install
|
||||||
|
install-exec-hook:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(pkglibdir)
|
||||||
|
test ! -x mysqld-debug$(EXEEXT) || $(INSTALL_PROGRAM) mysqld-debug$(EXEEXT) $(DESTDIR)$(libexecdir)
|
||||||
|
test ! -f mysqld-debug.sym.gz || $(INSTALL_DATA) mysqld-debug.sym.gz $(DESTDIR)$(pkglibdir)
|
||||||
|
test ! -f mysqld.sym.gz || $(INSTALL_DATA) mysqld.sym.gz $(DESTDIR)$(pkglibdir)
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
%::SCCS/s.%
|
%::SCCS/s.%
|
||||||
|
@ -1948,6 +1948,7 @@ extern "C" sig_handler abort_thread(int sig __attribute__((unused)))
|
|||||||
static BOOL WINAPI console_event_handler( DWORD type )
|
static BOOL WINAPI console_event_handler( DWORD type )
|
||||||
{
|
{
|
||||||
DBUG_ENTER("console_event_handler");
|
DBUG_ENTER("console_event_handler");
|
||||||
|
#ifndef EMBEDDED_LIBRARY
|
||||||
if(type == CTRL_C_EVENT)
|
if(type == CTRL_C_EVENT)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -1962,6 +1963,7 @@ static BOOL WINAPI console_event_handler( DWORD type )
|
|||||||
sql_print_warning("CTRL-C ignored during startup");
|
sql_print_warning("CTRL-C ignored during startup");
|
||||||
DBUG_RETURN(TRUE);
|
DBUG_RETURN(TRUE);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
DBUG_RETURN(FALSE);
|
DBUG_RETURN(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user