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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3ff9dff0
Commit
3ff9dff0
authored
Jan 11, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk@192.168.21.1:mysql-5.0-opt
into mysql.com:/d2/hf/mr10/my50-mr10
parents
61cd864b
27d56afc
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
155 additions
and
40 deletions
+155
-40
BUILD/check-cpu
BUILD/check-cpu
+1
-2
VC++Files/mysys/mysys.vcproj
VC++Files/mysys/mysys.vcproj
+43
-0
client/mysql_upgrade.c
client/mysql_upgrade.c
+11
-1
configure.in
configure.in
+11
-4
include/my_global.h
include/my_global.h
+36
-0
innobase/buf/buf0buf.c
innobase/buf/buf0buf.c
+1
-1
innobase/dict/dict0dict.c
innobase/dict/dict0dict.c
+3
-3
innobase/fil/fil0fil.c
innobase/fil/fil0fil.c
+2
-2
innobase/ha/ha0ha.c
innobase/ha/ha0ha.c
+1
-1
innobase/ha/hash0hash.c
innobase/ha/hash0hash.c
+1
-1
innobase/include/hash0hash.h
innobase/include/hash0hash.h
+1
-1
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+1
-1
innobase/log/log0recv.c
innobase/log/log0recv.c
+2
-2
innobase/thr/thr0loc.c
innobase/thr/thr0loc.c
+1
-1
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+1
-1
mysql-test/t/query_cache_notembedded.test
mysql-test/t/query_cache_notembedded.test
+2
-2
mysql-test/t/rpl000015.test
mysql-test/t/rpl000015.test
+1
-1
mysql-test/t/rpl000017.test
mysql-test/t/rpl000017.test
+1
-1
mysql-test/t/rpl_rotate_logs.test
mysql-test/t/rpl_rotate_logs.test
+1
-1
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
scripts/mysql_secure_installation.sh
scripts/mysql_secure_installation.sh
+20
-9
sql/mysqld.cc
sql/mysqld.cc
+6
-2
support-files/MySQL-shared-compat.spec.sh
support-files/MySQL-shared-compat.spec.sh
+1
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+6
-1
No files found.
BUILD/check-cpu
View file @
3ff9dff0
...
...
@@ -177,8 +177,7 @@ check_cpu () {
touch
__test.c
while
[
"
$cpu_arg
"
]
;
do
# FIXME: echo -n isn't portable - see contortions autoconf goes through
echo
-n
testing
$cpu_arg
"... "
>
&2
printf
"testing
$cpu_arg
... "
>
&2
# compile check
check_cpu_cflags
=
`
eval echo
$check_cpu_args
`
...
...
VC++Files/mysys/mysys.vcproj
View file @
3ff9dff0
...
...
@@ -3417,6 +3417,49 @@
PreprocessorDefinitions=
""
/>
</FileConfiguration>
</File>
<File
RelativePath=
"my_getpagesize.c"
>
<FileConfiguration
Name=
"Debug|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
""
PreprocessorDefinitions=
""
/>
</FileConfiguration>
<FileConfiguration
Name=
"Max|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"2"
AdditionalIncludeDirectories=
""
PreprocessorDefinitions=
""
/>
</FileConfiguration>
<FileConfiguration
Name=
"Release|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"2"
AdditionalIncludeDirectories=
""
PreprocessorDefinitions=
""
/>
</FileConfiguration>
<FileConfiguration
Name=
"TLS_DEBUG|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
""
PreprocessorDefinitions=
""
/>
</FileConfiguration>
<FileConfiguration
Name=
"TLS|Win32"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"2"
AdditionalIncludeDirectories=
""
PreprocessorDefinitions=
""
/>
</FileConfiguration>
</File>
<File
RelativePath=
"my_mmap.c"
>
<FileConfiguration
...
...
client/mysql_upgrade.c
View file @
3ff9dff0
...
...
@@ -143,6 +143,7 @@ void set_extra_default(int id, const struct my_option *opt)
case
'f'
:
/* --force is ours */
case
'u'
:
/* --user passed on cmdline */
case
'T'
:
/* --debug-info is not accepted by mysqlcheck */
case
'p'
:
/* --password may change yet */
/* so, do nothing */
break
;
default:
...
...
@@ -174,7 +175,7 @@ void set_extra_default(int id, const struct my_option *opt)
d
->
id
=
id
;
d
->
name
=
opt
->
name
;
d
->
n_len
=
strlen
(
opt
->
name
);
if
(
opt
->
arg_type
!=
NO_ARG
)
if
(
opt
->
arg_type
!=
NO_ARG
&&
opt
->
value
)
switch
(
opt
->
var_type
&
GET_TYPE_MASK
)
{
case
GET_BOOL
:
if
(
*
((
int
*
)
opt
->
value
))
...
...
@@ -320,6 +321,15 @@ static int create_defaults_file(const char *path, const char *forced_path)
}
dynstr_set
(
&
buf
,
"
\n
[client]"
);
if
(
opt_password
)
{
if
(
dynstr_append
(
&
buf
,
"
\n
password="
)
||
dynstr_append
(
&
buf
,
opt_password
))
{
ret
=
1
;
goto
error
;
}
}
while
(
extra_defaults
)
{
int
len
;
...
...
configure.in
View file @
3ff9dff0
...
...
@@ -1073,6 +1073,7 @@ case $SYSTEM_TYPE in
fi
;;
*
darwin
*
)
AC_DEFINE
([
DEFAULT_SKIP_THREAD_PRIORITY],
[
1],
[
default to skip thread priority]
)
if
test
"
$ac_cv_prog_gcc
"
=
"yes"
then
FLAGS
=
"-D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT"
...
...
@@ -2494,12 +2495,14 @@ thread_dirs=
dnl This probably should be cleaned up more -
for
now the threaded
dnl client is just using plain-old libs.
sql_client_dirs
=
"strings regex mysys libmysql client"
sql_client_dirs
=
linked_client_targets
=
"linked_libmysql_sources"
if
test
"
$THREAD_SAFE_CLIENT
"
!
=
"no"
if
test
"
$THREAD_SAFE_CLIENT
"
=
"no"
then
sql_client_dirs
=
"libmysql_r
$sql_client_dirs
"
sql_client_dirs
=
"strings regex mysys extra libmysql client"
else
sql_client_dirs
=
"strings regex mysys extra libmysql libmysql_r client"
linked_client_targets
=
"
$linked_client_targets
linked_libmysql_r_sources"
AC_CONFIG_FILES
(
libmysql_r/Makefile
)
AC_DEFINE
([
THREAD_SAFE_CLIENT],
[
1],
[
Should be client be thread safe]
)
...
...
@@ -2528,13 +2531,17 @@ AM_CONDITIONAL(HAVE_NETWARE, test "$netware_dir" = "netware")
export
CC CXX CFLAGS CXXFLAGS LD LDFLAGS AR
ac_configure_args
=
"
$ac_configure_args
CFLAGS='
$CFLAGS
' CXXFLAGS='
$CXXFLAGS
'"
if
test
"
$with_server
"
=
"yes
"
-o
"
$THREAD_SAFE_CLIENT
"
!=
"no"
if
test
"
$with_server
"
!=
"no
"
-o
"
$THREAD_SAFE_CLIENT
"
!=
"no"
then
AC_DEFINE
([
THREAD],
[
1],
[
Define
if
you want to have threaded code. This may be undef on client code]
)
# Avoid _PROGRAMS names
THREAD_LOBJECTS
=
"thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o mf_keycache.o"
AC_SUBST
(
THREAD_LOBJECTS
)
fi
if
test
"
$with_server
"
!=
"no"
then
server_scripts
=
"mysqld_safe mysql_install_db"
sql_server_dirs
=
"strings mysys dbug extra regex"
...
...
include/my_global.h
View file @
3ff9dff0
...
...
@@ -92,6 +92,42 @@
#define NETWARE_SET_SCREEN_MODE(A)
#endif
/*
The macros below are used to allow build of Universal/fat binaries of
MySQL and MySQL applications under darwin.
*/
#ifdef TARGET_FAT_BINARY
# undef SIZEOF_CHARP
# undef SIZEOF_INT
# undef SIZEOF_LONG
# undef SIZEOF_LONG_LONG
# undef SIZEOF_OFF_T
# undef SIZEOF_SHORT
#if defined(__i386__)
# undef WORDS_BIGENDIAN
# define SIZEOF_CHARP 4
# define SIZEOF_INT 4
# define SIZEOF_LONG 4
# define SIZEOF_LONG_LONG 8
# define SIZEOF_OFF_T 8
# define SIZEOF_SHORT 2
#elif defined(__ppc__)
# define WORDS_BIGENDIAN
# define SIZEOF_CHARP 4
# define SIZEOF_INT 4
# define SIZEOF_LONG 4
# define SIZEOF_LONG_LONG 8
# define SIZEOF_OFF_T 8
# define SIZEOF_SHORT 2
#else
# error Building FAT binary for an unknown architecture.
#endif
#endif
/* TARGET_FAT_BINARY */
/*
The macros below are borrowed from include/linux/compiler.h in the
Linux kernel. Use them to indicate the likelyhood of the truthfulness
...
...
innobase/buf/buf0buf.c
View file @
3ff9dff0
...
...
@@ -649,7 +649,7 @@ buf_pool_init(
}
}
buf_pool
->
page_hash
=
hash_create
(
2
*
max_size
);
buf_pool
->
page_hash
=
hash
0
_create
(
2
*
max_size
);
buf_pool
->
n_pend_reads
=
0
;
...
...
innobase/dict/dict0dict.c
View file @
3ff9dff0
...
...
@@ -708,13 +708,13 @@ dict_init(void)
mutex_create
(
&
(
dict_sys
->
mutex
));
mutex_set_level
(
&
(
dict_sys
->
mutex
),
SYNC_DICT
);
dict_sys
->
table_hash
=
hash_create
(
buf_pool_get_max_size
()
/
dict_sys
->
table_hash
=
hash
0
_create
(
buf_pool_get_max_size
()
/
(
DICT_POOL_PER_TABLE_HASH
*
UNIV_WORD_SIZE
));
dict_sys
->
table_id_hash
=
hash_create
(
buf_pool_get_max_size
()
/
dict_sys
->
table_id_hash
=
hash
0
_create
(
buf_pool_get_max_size
()
/
(
DICT_POOL_PER_TABLE_HASH
*
UNIV_WORD_SIZE
));
dict_sys
->
col_hash
=
hash_create
(
buf_pool_get_max_size
()
/
dict_sys
->
col_hash
=
hash
0
_create
(
buf_pool_get_max_size
()
/
(
DICT_POOL_PER_COL_HASH
*
UNIV_WORD_SIZE
));
dict_sys
->
size
=
0
;
...
...
innobase/fil/fil0fil.c
View file @
3ff9dff0
...
...
@@ -1294,8 +1294,8 @@ fil_system_create(
mutex_set_level
(
&
(
system
->
mutex
),
SYNC_ANY_LATCH
);
system
->
spaces
=
hash_create
(
hash_size
);
system
->
name_hash
=
hash_create
(
hash_size
);
system
->
spaces
=
hash
0
_create
(
hash_size
);
system
->
name_hash
=
hash
0
_create
(
hash_size
);
UT_LIST_INIT
(
system
->
LRU
);
...
...
innobase/ha/ha0ha.c
View file @
3ff9dff0
...
...
@@ -32,7 +32,7 @@ ha_create(
hash_table_t
*
table
;
ulint
i
;
table
=
hash_create
(
n
);
table
=
hash
0
_create
(
n
);
if
(
in_btr_search
)
{
table
->
adaptive
=
TRUE
;
...
...
innobase/ha/hash0hash.c
View file @
3ff9dff0
...
...
@@ -74,7 +74,7 @@ Creates a hash table with >= n array cells. The actual number of cells is
chosen to be a prime number slightly bigger than n. */
hash_table_t
*
hash_create
(
hash
0
_create
(
/*========*/
/* out, own: created table */
ulint
n
)
/* in: number of array cells */
...
...
innobase/include/hash0hash.h
View file @
3ff9dff0
...
...
@@ -23,7 +23,7 @@ Creates a hash table with >= n array cells. The actual number
of cells is chosen to be a prime number slightly bigger than n. */
hash_table_t
*
hash_create
(
hash
0
_create
(
/*========*/
/* out, own: created table */
ulint
n
);
/* in: number of array cells */
...
...
innobase/lock/lock0lock.c
View file @
3ff9dff0
...
...
@@ -584,7 +584,7 @@ lock_sys_create(
{
lock_sys
=
mem_alloc
(
sizeof
(
lock_sys_t
));
lock_sys
->
rec_hash
=
hash_create
(
n_cells
);
lock_sys
->
rec_hash
=
hash
0
_create
(
n_cells
);
/* hash_create_mutexes(lock_sys->rec_hash, 2, SYNC_REC_LOCK); */
...
...
innobase/log/log0recv.c
View file @
3ff9dff0
...
...
@@ -148,7 +148,7 @@ recv_sys_init(
recv_sys
->
len
=
0
;
recv_sys
->
recovered_offset
=
0
;
recv_sys
->
addr_hash
=
hash_create
(
available_memory
/
64
);
recv_sys
->
addr_hash
=
hash
0
_create
(
available_memory
/
64
);
recv_sys
->
n_addrs
=
0
;
recv_sys
->
apply_log_recs
=
FALSE
;
...
...
@@ -187,7 +187,7 @@ recv_sys_empty_hash(void)
hash_table_free
(
recv_sys
->
addr_hash
);
mem_heap_empty
(
recv_sys
->
heap
);
recv_sys
->
addr_hash
=
hash_create
(
buf_pool_get_curr_size
()
/
256
);
recv_sys
->
addr_hash
=
hash
0
_create
(
buf_pool_get_curr_size
()
/
256
);
}
/************************************************************
...
...
innobase/thr/thr0loc.c
View file @
3ff9dff0
...
...
@@ -224,7 +224,7 @@ thr_local_init(void)
ut_a
(
thr_local_hash
==
NULL
);
thr_local_hash
=
hash_create
(
OS_THREAD_MAX_N
+
100
);
thr_local_hash
=
hash
0
_create
(
OS_THREAD_MAX_N
+
100
);
mutex_create
(
&
thr_local_mutex
);
mutex_set_level
(
&
thr_local_mutex
,
SYNC_THR_LOCAL
);
...
...
mysql-test/t/myisam.test
View file @
3ff9dff0
...
...
@@ -498,7 +498,7 @@ insert into t1 values (1),(2),(3),(4),(5),(6);
insert
into
t2
values
(
1
,
1
),(
2
,
1
);
lock
tables
t1
read
local
,
t2
read
local
;
select
straight_join
*
from
t1
,
t2
force
index
(
primary
)
where
t1
.
a
=
t2
.
a
;
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
insert
into
t2
values
(
2
,
0
);
disconnect
root
;
connection
default
;
...
...
mysql-test/t/query_cache_notembedded.test
View file @
3ff9dff0
...
...
@@ -81,12 +81,12 @@ drop table t1, t2, t3, t11, t21;
#
# do not use QC if tables locked (BUG#12385)
#
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connection
root
;
CREATE
TABLE
t1
(
a
INT
NOT
NULL
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
MyISAM
;
LOCK
TABLE
t1
READ
LOCAL
;
connect
(
root2
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root2
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connection
root2
;
INSERT
INTO
t1
VALUES
(),
(),
();
connection
root
;
...
...
mysql-test/t/rpl000015.test
View file @
3ff9dff0
connect
(
master
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connection
master
;
reset
master
;
show
master
status
;
...
...
mysql-test/t/rpl000017.test
View file @
3ff9dff0
connect
(
master
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connection
master
;
reset
master
;
grant
replication
slave
on
*.*
to
replicate
@
localhost
identified
by
'aaaaaaaaaaaaaaab'
;
...
...
mysql-test/t/rpl_rotate_logs.test
View file @
3ff9dff0
...
...
@@ -16,7 +16,7 @@ connect (master,localhost,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
--
enable_warnings
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
system
cat
/
dev
/
null
>
$MYSQLTEST_VARDIR
/
slave
-
data
/
master
.
info
;
system
chmod
000
$MYSQLTEST_VARDIR
/
slave
-
data
/
master
.
info
;
connection
slave
;
...
...
scripts/make_binary_distribution.sh
View file @
3ff9dff0
...
...
@@ -360,7 +360,7 @@ BASE=$BASE2
#
if
[
x
"@GXX@"
=
x
"yes"
]
;
then
gcclib
=
`
@CC@
--print-libgcc-file
`
gcclib
=
`
@CC@
@CFLAGS@
--print-libgcc-file
`
if
[
$?
-ne
0
]
;
then
echo
"Warning: Couldn't find libgcc.a!"
else
...
...
scripts/mysql_secure_installation.sh
View file @
3ff9dff0
...
...
@@ -21,6 +21,16 @@ command=".mysql.$$"
trap
"interrupt"
2
rootpass
=
""
echo_n
=
echo_c
=
set_echo_compat
()
{
case
`
echo
"testing
\c
"
`
,
`
echo
-n
testing
`
in
*
c
*
,-n
*
)
echo_n
=
echo_c
=
;;
*
c
*
,
*
)
echo_n
=
-n
echo_c
=
;;
*
)
echo_n
=
echo_c
=
'\c'
;;
esac
}
prepare
()
{
touch
$config
$command
...
...
@@ -44,7 +54,7 @@ get_root_password() {
status
=
1
while
[
$status
-eq
1
]
;
do
stty
-echo
echo
-n
"Enter current password for root (enter for none):
"
echo
$echo_n
"Enter current password for root (enter for none):
$echo_c
"
read
password
echo
stty echo
...
...
@@ -64,10 +74,10 @@ get_root_password() {
set_root_password
()
{
stty
-echo
echo
-n
"New password:
"
echo
$echo_n
"New password:
$echo_c
"
read
password1
echo
echo
-n
"Re-enter new password:
"
echo
$echo_n
"Re-enter new password:
$echo_c
"
read
password2
echo
stty echo
...
...
@@ -172,6 +182,7 @@ cleanup() {
# The actual script starts here
prepare
set_echo_compat
echo
echo
...
...
@@ -200,11 +211,11 @@ echo "root user without the proper authorisation."
echo
if
[
$hadpass
-eq
0
]
;
then
echo
-n
"Set root password? [Y/n]
"
echo
$echo_n
"Set root password? [Y/n]
$echo_c
"
else
echo
"You already have a root password set, so you can safely answer 'n'."
echo
echo
-n
"Change the root password? [Y/n]
"
echo
$echo_n
"Change the root password? [Y/n]
$echo_c
"
fi
read
reply
...
...
@@ -231,7 +242,7 @@ echo "go a bit smoother. You should remove them before moving into a"
echo
"production environment."
echo
echo
-n
"Remove anonymous users? [Y/n]
"
echo
$echo_n
"Remove anonymous users? [Y/n]
$echo_c
"
read
reply
if
[
"
$reply
"
=
"n"
]
;
then
...
...
@@ -250,7 +261,7 @@ echo "Normally, root should only be allowed to connect from 'localhost'. This"
echo
"ensures that someone cannot guess at the root password from the network."
echo
echo
-n
"Disallow root login remotely? [Y/n]
"
echo
$echo_n
"Disallow root login remotely? [Y/n]
$echo_c
"
read
reply
if
[
"
$reply
"
=
"n"
]
;
then
echo
" ... skipping."
...
...
@@ -269,7 +280,7 @@ echo "access. This is also intended only for testing, and should be removed"
echo
"before moving into a production environment."
echo
echo
-n
"Remove test database and access to it? [Y/n]
"
echo
$echo_n
"Remove test database and access to it? [Y/n]
$echo_c
"
read
reply
if
[
"
$reply
"
=
"n"
]
;
then
echo
" ... skipping."
...
...
@@ -287,7 +298,7 @@ echo "Reloading the privilege tables will ensure that all changes made so far"
echo
"will take effect immediately."
echo
echo
-n
"Reload privilege tables now? [Y/n]
"
echo
$echo_n
"Reload privilege tables now? [Y/n]
$echo_c
"
read
reply
if
[
"
$reply
"
=
"n"
]
;
then
echo
" ... skipping."
...
...
sql/mysqld.cc
View file @
3ff9dff0
...
...
@@ -51,6 +51,10 @@
#define OPT_NDBCLUSTER_DEFAULT 0
#endif
#ifndef DEFAULT_SKIP_THREAD_PRIORITY
#define DEFAULT_SKIP_THREAD_PRIORITY 0
#endif
#include <thr_alarm.h>
#include <ft_global.h>
#include <errmsg.h>
...
...
@@ -5384,8 +5388,8 @@ Can't be set to 1 if --log-slave-updates is used.",
{
"skip-symlink"
,
OPT_SKIP_SYMLINKS
,
"Don't allow symlinking of tables. Deprecated option. Use --skip-symbolic-links instead."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"skip-thread-priority"
,
OPT_SKIP_PRIOR
,
"Don't give threads different priorities."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
"Don't give threads different priorities."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
DEFAULT_SKIP_THREAD_PRIORITY
,
0
,
0
,
0
,
0
,
0
},
#ifdef HAVE_REPLICATION
{
"slave-load-tmpdir"
,
OPT_SLAVE_LOAD_TMPDIR
,
"The location where the slave should put its temporary files when \
...
...
support-files/MySQL-shared-compat.spec.sh
View file @
3ff9dff0
...
...
@@ -29,7 +29,7 @@
# Change this to match the version of the shared libs you want to include
#
%define version50 @MYSQL_NO_DASH_VERSION@
%define version41 4.1.1
6
%define version41 4.1.1
7
%define version40 4.0.26
%define version3 3.23.58
...
...
support-files/mysql.spec.sh
View file @
3ff9dff0
...
...
@@ -362,7 +362,7 @@ fi
# Include libgcc.a in the devel subpackage (BUG 4921)
if
expr
"
$CC
"
:
".*gcc.*"
>
/dev/null
;
then
libgcc
=
`
$CC
--print-libgcc-file
`
libgcc
=
`
$CC
$CFLAGS
--print-libgcc-file
`
if
[
-f
$libgcc
]
then
%define have_libgcc 1
...
...
@@ -755,6 +755,11 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
*
Fri Jan 05 2007 Kent Boortz <kent@mysql.com>
- Add CFLAGS to gcc call with
--print-libgcc-file
, to make sure the
correct
"libgcc.a"
path is returned
for
the 32/64 bit architecture.
*
Mon Dec 18 2006 Joerg Bruehe <joerg@mysql.com>
- Fix the move of
"mysqlmanager"
to section 8: Directory name was wrong.
...
...
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