mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge with 4.0 to get fix for hpux
This commit is contained in:
@ -2657,6 +2657,9 @@ AC_SUBST(netware_dir)
|
|||||||
AC_SUBST(linked_netware_sources)
|
AC_SUBST(linked_netware_sources)
|
||||||
AM_CONDITIONAL(HAVE_NETWARE, test "$netware_dir" = "netware")
|
AM_CONDITIONAL(HAVE_NETWARE, test "$netware_dir" = "netware")
|
||||||
|
|
||||||
|
# Ensure that table handlers gets all modifications to CFLAGS/CXXFLAGS
|
||||||
|
export CC CXX CFLAGS CXXFLAGS LD LDFLAGS AR
|
||||||
|
|
||||||
if test "$with_server" = "yes" -o "$THREAD_SAFE_CLIENT" != "no"
|
if test "$with_server" = "yes" -o "$THREAD_SAFE_CLIENT" != "no"
|
||||||
then
|
then
|
||||||
AC_DEFINE(THREAD)
|
AC_DEFINE(THREAD)
|
||||||
|
@ -57,6 +57,10 @@ extern "C" {
|
|||||||
#undef HAVE_CRYPT
|
#undef HAVE_CRYPT
|
||||||
#endif /* HAVE_OPENSSL */
|
#endif /* HAVE_OPENSSL */
|
||||||
|
|
||||||
|
/* Configure can't detect this because it uses AC_TRY_RUN */
|
||||||
|
#undef HAVE_COMPRESS
|
||||||
|
#define HAVE_COMPRESS
|
||||||
|
|
||||||
/* include the old function apis */
|
/* include the old function apis */
|
||||||
#define USE_OLD_FUNCTIONS 1
|
#define USE_OLD_FUNCTIONS 1
|
||||||
|
|
||||||
|
@ -1740,7 +1740,7 @@ os_file_pread(
|
|||||||
|
|
||||||
os_n_file_reads++;
|
os_n_file_reads++;
|
||||||
|
|
||||||
#ifdef HAVE_PREAD
|
#if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD)
|
||||||
os_mutex_enter(os_file_count_mutex);
|
os_mutex_enter(os_file_count_mutex);
|
||||||
os_file_n_pending_preads++;
|
os_file_n_pending_preads++;
|
||||||
os_mutex_exit(os_file_count_mutex);
|
os_mutex_exit(os_file_count_mutex);
|
||||||
@ -1815,7 +1815,7 @@ os_file_pwrite(
|
|||||||
|
|
||||||
os_n_file_writes++;
|
os_n_file_writes++;
|
||||||
|
|
||||||
#ifdef HAVE_PWRITE
|
#if defined(HAVE_PWRITE) && !defined(HAVE_BROKEN_PREAD)
|
||||||
os_mutex_enter(os_file_count_mutex);
|
os_mutex_enter(os_file_count_mutex);
|
||||||
os_file_n_pending_pwrites++;
|
os_file_n_pending_pwrites++;
|
||||||
os_mutex_exit(os_file_count_mutex);
|
os_mutex_exit(os_file_count_mutex);
|
||||||
|
@ -385,7 +385,6 @@ select 1;
|
|||||||
1
|
1
|
||||||
1
|
1
|
||||||
select @@session.key_buffer_size;
|
select @@session.key_buffer_size;
|
||||||
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable
|
|
||||||
set ft_boolean_syntax = @@init_connect;
|
set ft_boolean_syntax = @@init_connect;
|
||||||
ERROR HY000: Variable 'ft_boolean_syntax' is a GLOBAL variable and should be set with SET GLOBAL
|
ERROR HY000: Variable 'ft_boolean_syntax' is a GLOBAL variable and should be set with SET GLOBAL
|
||||||
set global ft_boolean_syntax = @@init_connect;
|
set global ft_boolean_syntax = @@init_connect;
|
||||||
@ -400,7 +399,7 @@ ERROR 42000: Variable 'ft_boolean_syntax' can't be set to the value of ''
|
|||||||
set global myisam_max_sort_file_size=4294967296;
|
set global myisam_max_sort_file_size=4294967296;
|
||||||
show global variables like 'myisam_max_sort_file_size';
|
show global variables like 'myisam_max_sort_file_size';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
myisam_max_sort_file_size 4294967296
|
myisam_max_sort_file_size MAX_FILE_SIZE
|
||||||
set global myisam_max_sort_file_size=default;
|
set global myisam_max_sort_file_size=default;
|
||||||
select @@global.max_user_connections,@@local.max_join_size;
|
select @@global.max_user_connections,@@local.max_join_size;
|
||||||
@@global.max_user_connections @@session.max_join_size
|
@@global.max_user_connections @@session.max_join_size
|
||||||
|
@ -291,6 +291,7 @@ set global ft_boolean_syntax = @@init_connect;
|
|||||||
# variables are set
|
# variables are set
|
||||||
|
|
||||||
set global myisam_max_sort_file_size=4294967296;
|
set global myisam_max_sort_file_size=4294967296;
|
||||||
|
--replace_result 4294967296 MAX_FILE_SIZE 2146435072 MAX_FILE_SIZE
|
||||||
show global variables like 'myisam_max_sort_file_size';
|
show global variables like 'myisam_max_sort_file_size';
|
||||||
set global myisam_max_sort_file_size=default;
|
set global myisam_max_sort_file_size=default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user