mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge trift2.:/MySQL/M51/push-5.1
into trift2.:/MySQL/M51/work-5.1
This commit is contained in:
17
Makefile.am
17
Makefile.am
@ -135,12 +135,17 @@ test-bt:
|
|||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
@PERL@ ./mysql-test-run.pl --comment=normal+rowrepl --force --timer \
|
@PERL@ ./mysql-test-run.pl --comment=normal+rowrepl --force --timer \
|
||||||
--skip-ndbcluster --mysqld=--binlog-format=row
|
--skip-ndbcluster --mysqld=--binlog-format=row
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
-if [ -e bin/ndbd -o -e storage/ndb/src/kernel/ndbd ] ; then \
|
||||||
@PERL@ ./mysql-test-run.pl --comment=ps+rowrepl+NDB --force --timer \
|
cd mysql-test ; \
|
||||||
--ps-protocol --mysqld=--binlog-format=row
|
MTR_BUILD_THREAD=auto \
|
||||||
-cd mysql-test ; MTR_BUILD_THREAD=auto \
|
@PERL@ ./mysql-test-run.pl --comment=ps+rowrepl+NDB --force --timer \
|
||||||
@PERL@ ./mysql-test-run.pl --comment=NDB --force --timer \
|
--ps-protocol --mysqld=--binlog-format=row ; \
|
||||||
--with-ndbcluster-only
|
MTR_BUILD_THREAD=auto \
|
||||||
|
@PERL@ ./mysql-test-run.pl --comment=NDB --force --timer \
|
||||||
|
--with-ndbcluster-only ; \
|
||||||
|
else \
|
||||||
|
echo "no program found for 'ndbcluster' tests - skipped testing" ; \
|
||||||
|
fi
|
||||||
-if [ -e bin/mysqltest_embedded -o -e libmysqld/examples/mysqltest_embedded ] ; then \
|
-if [ -e bin/mysqltest_embedded -o -e libmysqld/examples/mysqltest_embedded ] ; then \
|
||||||
cd mysql-test ; MTR_BUILD_THREAD=auto \
|
cd mysql-test ; MTR_BUILD_THREAD=auto \
|
||||||
@PERL@ ./mysql-test-run.pl --comment=embedded --force --timer \
|
@PERL@ ./mysql-test-run.pl --comment=embedded --force --timer \
|
||||||
|
@ -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})
|
||||||
|
|
||||||
|
@ -1124,6 +1124,9 @@ bool Protocol::net_store_data(const uchar *from, size_t length)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER < 1400
|
||||||
|
#define vsnprintf _vsnprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
int vprint_msg_to_log(enum loglevel level __attribute__((unused)),
|
int vprint_msg_to_log(enum loglevel level __attribute__((unused)),
|
||||||
const char *format, va_list argsi)
|
const char *format, va_list argsi)
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -336,6 +336,8 @@ BuildMySQL "--enable-shared \
|
|||||||
--with-innodb \
|
--with-innodb \
|
||||||
%if %{CLUSTER_BUILD}
|
%if %{CLUSTER_BUILD}
|
||||||
--with-ndbcluster \
|
--with-ndbcluster \
|
||||||
|
%else
|
||||||
|
--without-ndbcluster \
|
||||||
%endif
|
%endif
|
||||||
--with-archive-storage-engine \
|
--with-archive-storage-engine \
|
||||||
--with-csv-storage-engine \
|
--with-csv-storage-engine \
|
||||||
@ -343,6 +345,8 @@ BuildMySQL "--enable-shared \
|
|||||||
--with-blackhole-storage-engine \
|
--with-blackhole-storage-engine \
|
||||||
%if %{FEDERATED_BUILD}
|
%if %{FEDERATED_BUILD}
|
||||||
--with-federated-storage-engine \
|
--with-federated-storage-engine \
|
||||||
|
%else
|
||||||
|
--without-federated-storage-engine \
|
||||||
%endif
|
%endif
|
||||||
--with-partition \
|
--with-partition \
|
||||||
--with-big-tables \
|
--with-big-tables \
|
||||||
|
Reference in New Issue
Block a user