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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0e8e6049
Commit
0e8e6049
authored
Nov 29, 2006
by
joerg@trift2
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M51/mysql-5.1
into trift2.:/MySQL/M51/push-5.1
parents
40684173
bffbf46c
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
274 additions
and
71 deletions
+274
-71
Docs/Makefile.am
Docs/Makefile.am
+5
-5
client/mysql_upgrade.c
client/mysql_upgrade.c
+8
-6
config/ac-macros/ha_ndbcluster.m4
config/ac-macros/ha_ndbcluster.m4
+1
-1
extra/yassl/src/Makefile.am
extra/yassl/src/Makefile.am
+1
-1
extra/yassl/taocrypt/benchmark/Makefile.am
extra/yassl/taocrypt/benchmark/Makefile.am
+1
-1
extra/yassl/taocrypt/benchmark/benchmark.dsp
extra/yassl/taocrypt/benchmark/benchmark.dsp
+2
-2
extra/yassl/taocrypt/src/Makefile.am
extra/yassl/taocrypt/src/Makefile.am
+1
-1
extra/yassl/taocrypt/taocrypt.dsp
extra/yassl/taocrypt/taocrypt.dsp
+2
-2
extra/yassl/taocrypt/taocrypt.vcproj
extra/yassl/taocrypt/taocrypt.vcproj
+2
-2
extra/yassl/taocrypt/test.dsp
extra/yassl/taocrypt/test.dsp
+2
-2
extra/yassl/taocrypt/test/Makefile.am
extra/yassl/taocrypt/test/Makefile.am
+1
-1
extra/yassl/testsuite/Makefile.am
extra/yassl/testsuite/Makefile.am
+1
-1
extra/yassl/testsuite/testsuite.dsp
extra/yassl/testsuite/testsuite.dsp
+2
-2
extra/yassl/yassl.dsp
extra/yassl/yassl.dsp
+2
-2
extra/yassl/yassl.vcproj
extra/yassl/yassl.vcproj
+2
-2
include/my_sys.h
include/my_sys.h
+5
-0
libmysql/Makefile.shared
libmysql/Makefile.shared
+2
-2
libmysql_r/Makefile.am
libmysql_r/Makefile.am
+5
-8
libmysqld/Makefile.am
libmysqld/Makefile.am
+17
-5
mysql-test/lib/mtr_report.pl
mysql-test/lib/mtr_report.pl
+5
-1
mysql-test/lib/mtr_unique.pl
mysql-test/lib/mtr_unique.pl
+156
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+7
-2
sql-common/my_time.c
sql-common/my_time.c
+1
-1
storage/ndb/config/type_kernel.mk.am
storage/ndb/config/type_kernel.mk.am
+4
-1
storage/ndb/config/type_ndbapi.mk.am
storage/ndb/config/type_ndbapi.mk.am
+4
-1
storage/ndb/config/type_ndbapitest.mk.am
storage/ndb/config/type_ndbapitest.mk.am
+4
-1
storage/ndb/config/type_ndbapitools.mk.am
storage/ndb/config/type_ndbapitools.mk.am
+4
-1
storage/ndb/config/type_util.mk.am
storage/ndb/config/type_util.mk.am
+2
-0
storage/ndb/src/kernel/Makefile.am
storage/ndb/src/kernel/Makefile.am
+16
-16
storage/ndb/src/mgmsrv/Makefile.am
storage/ndb/src/mgmsrv/Makefile.am
+1
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+8
-0
No files found.
Docs/Makefile.am
View file @
0e8e6049
...
...
@@ -45,22 +45,22 @@ CLEAN_FILES: $(TXT_FILES)
GT
=
$(srcdir)
/generate-text-files.pl
../INSTALL-SOURCE
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"installing-source"
"windows-source-build"
>
$@
perl
-w
$(GT)
$(srcdir)
/
mysql.info
"installing-source"
"windows-source-build"
>
$@
../INSTALL-WIN-SOURCE
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"windows-source-build"
"post-installation"
>
$@
perl
-w
$(GT)
$(srcdir)
/
mysql.info
"windows-source-build"
"post-installation"
>
$@
# We put the description for the binary installation here so that
# people who download source wont have to see it. It is moved up to
# the toplevel by the script that makes the binary tar files.
INSTALL-BINARY
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"installing-binary"
"installing-source"
>
$@
perl
-w
$(GT)
$(srcdir)
/
mysql.info
"installing-binary"
"installing-source"
>
$@
../EXCEPTIONS-CLIENT
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"mysql-floss-license-exception"
"function-index"
>
$@
perl
-w
$(GT)
$(srcdir)
/
mysql.info
"mysql-floss-license-exception"
"function-index"
>
$@
../support-files/MacOSX/ReadMe.txt
:
mysql.info $(GT)
perl
-w
$(GT)
mysql.info
"mac-os-x-installation"
"netware-installation"
>
$@
perl
-w
$(GT)
$(srcdir)
/
mysql.info
"mac-os-x-installation"
"netware-installation"
>
$@
# Include the Windows manual.chm in source .tar.gz only if available.
# It is not in BitKeeper, but is downloaded from intranet by Bootstrap.
...
...
client/mysql_upgrade.c
View file @
0e8e6049
...
...
@@ -373,22 +373,24 @@ static int comp_names(struct fileinfo *a, struct fileinfo *b)
}
static
int
find_file
(
const
char
*
name
,
const
char
*
root
,
uint
flags
,
char
*
result
,
size_t
len
,
...)
static
int
find_file
(
const
char
*
name
,
const
char
*
root
,
uint
flags
,
char
*
result
,
size_t
len
,
...)
{
int
ret
;
int
ret
=
1
;
va_list
va
;
FILEINFO
key
=
{
(
char
*
)
name
,
NULL
};
const
char
*
subdir
;
char
*
cp
;
FILEINFO
key
;
/* Init key with name of the file to look for */
key
.
name
=
(
char
*
)
name
;
DBUG_ASSERT
(
root
!=
NULL
);
cp
=
strmake
(
result
,
root
,
len
);
if
(
cp
[
-
1
]
!=
FN_LIBCHAR
)
*
cp
++=
FN_LIBCHAR
;
ret
=
1
;
va_start
(
va
,
len
);
subdir
=
(
!
(
flags
&
MY_SEARCH_SELF
))
?
va_arg
(
va
,
char
*
)
:
""
;
while
(
subdir
)
...
...
config/ac-macros/ha_ndbcluster.m4
View file @
0e8e6049
...
...
@@ -187,7 +187,7 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
ndb_cxxflags_fix=""
TEST_NDBCLUSTER="--ndbcluster"
ndbcluster_includes="-I\$(top_builddir)/storage/ndb/include -I\$(top_
builddir)/storage/ndb/include/ndbapi -I\$(top_build
dir)/storage/ndb/include/mgmapi"
ndbcluster_includes="-I\$(top_builddir)/storage/ndb/include -I\$(top_
srcdir)/storage/ndb/include -I\$(top_srcdir)/storage/ndb/include/ndbapi -I\$(top_src
dir)/storage/ndb/include/mgmapi"
ndbcluster_libs="\$(top_builddir)/storage/ndb/src/.libs/libndbclient.a"
ndbcluster_system_libs=""
ndb_mgmclient_libs="\$(top_builddir)/storage/ndb/src/mgmclient/libndbmgmclient.la"
...
...
extra/yassl/src/Makefile.am
View file @
0e8e6049
INCLUDES
=
-I
../include
-I
../taocrypt/include
-I
../taocrypt/mySTL
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/../taocrypt/include
-I
$(srcdir)
/
../taocrypt/mySTL
noinst_LTLIBRARIES
=
libyassl.la
libyassl_la_SOURCES
=
buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp
\
...
...
extra/yassl/taocrypt/benchmark/Makefile.am
View file @
0e8e6049
INCLUDES
=
-I
../include
-I
../mySTL
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/
../mySTL
bin_PROGRAMS
=
benchmark
benchmark_SOURCES
=
benchmark.cpp
benchmark_LDADD
=
$(top_builddir)
/extra/yassl/taocrypt/src/libtaocrypt.la
...
...
extra/yassl/taocrypt/benchmark/benchmark.dsp
View file @
0e8e6049
...
...
@@ -42,7 +42,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\
..\
mySTL" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\include" /I "..\mySTL" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
...
...
@@ -65,7 +65,7 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\
..\
mySTL" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\include" /I "..\mySTL" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
...
...
extra/yassl/taocrypt/src/Makefile.am
View file @
0e8e6049
INCLUDES
=
-I
../include
-I
../mySTL
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/
../mySTL
noinst_LTLIBRARIES
=
libtaocrypt.la
...
...
extra/yassl/taocrypt/taocrypt.dsp
View file @
0e8e6049
...
...
@@ -41,7 +41,7 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
# ADD CPP /nologo /G6 /MT /W3 /O2 /I "include" /I "
..\
mySTL" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
# ADD CPP /nologo /G6 /MT /W3 /O2 /I "include" /I "mySTL" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
...
...
@@ -64,7 +64,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "
..\
mySTL" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "mySTL" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
# SUBTRACT CPP /Fr
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
...
...
extra/yassl/taocrypt/taocrypt.vcproj
View file @
0e8e6049
...
...
@@ -21,7 +21,7 @@
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
"include,
..\
mySTL"
AdditionalIncludeDirectories=
"include,mySTL"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB"
ExceptionHandling=
"FALSE"
BasicRuntimeChecks=
"3"
...
...
@@ -75,7 +75,7 @@
Name=
"VCCLCompilerTool"
Optimization=
"2"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"include,
..\
mySTL"
AdditionalIncludeDirectories=
"include,mySTL"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB"
StringPooling=
"TRUE"
ExceptionHandling=
"FALSE"
...
...
extra/yassl/taocrypt/test.dsp
View file @
0e8e6049
...
...
@@ -42,7 +42,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "include" /I "
../
mySTL" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "include" /I "mySTL" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
...
...
@@ -66,7 +66,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "
../
mySTL" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "mySTL" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
...
...
extra/yassl/taocrypt/test/Makefile.am
View file @
0e8e6049
INCLUDES
=
-I
../include
-I
../mySTL
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/
../mySTL
bin_PROGRAMS
=
test
test_SOURCES
=
test.cpp
test_LDADD
=
$(top_builddir)
/extra/yassl/taocrypt/src/libtaocrypt.la
...
...
extra/yassl/testsuite/Makefile.am
View file @
0e8e6049
INCLUDES
=
-I
../include
-I
../taocrypt/include
-I
../taocrypt/mySTL
INCLUDES
=
-I
$(srcdir)
/../include
-I
$(srcdir)
/../taocrypt/include
-I
$(srcdir)
/
../taocrypt/mySTL
bin_PROGRAMS
=
testsuite
testsuite_SOURCES
=
testsuite.cpp ../taocrypt/test/test.cpp
\
../examples/client/client.cpp ../examples/server/server.cpp
\
...
...
extra/yassl/testsuite/testsuite.dsp
View file @
0e8e6049
...
...
@@ -42,7 +42,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "../taocrypt/include" /I "../include" /I "../mySTL" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "NO_MAIN_DRIVER" /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "../taocrypt/include" /I "../include" /I "../
taocrypt/
mySTL" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "NO_MAIN_DRIVER" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
...
...
@@ -67,7 +67,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "../taocrypt/include" /I "../include" /I "../mySTL" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "NO_MAIN_DRIVER" /FR /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "../taocrypt/include" /I "../include" /I "../
taocrypt/
mySTL" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "NO_MAIN_DRIVER" /FR /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
...
...
extra/yassl/yassl.dsp
View file @
0e8e6049
...
...
@@ -41,7 +41,7 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "include" /I "taocrypt\include" /I "mySTL" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /YX /FD /c
# ADD CPP /nologo /MT /W3 /O2 /I "include" /I "taocrypt\include" /I "
taocrypt\
mySTL" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
...
...
@@ -64,7 +64,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "taocrypt\include" /I "mySTL" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /FR /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /ZI /Od /I "include" /I "taocrypt\include" /I "
taocrypt\
mySTL" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "YASSL_PREFIX" /FR /YX /FD /GZ /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
...
...
extra/yassl/yassl.vcproj
View file @
0e8e6049
...
...
@@ -21,7 +21,7 @@
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
"include,taocrypt\include,mySTL"
AdditionalIncludeDirectories=
"include,taocrypt\include,
taocrypt\
mySTL"
PreprocessorDefinitions=
"WIN32;_DEBUG;_LIB;YASSL_PREFIX"
ExceptionHandling=
"FALSE"
BasicRuntimeChecks=
"3"
...
...
@@ -75,7 +75,7 @@
Name=
"VCCLCompilerTool"
Optimization=
"2"
InlineFunctionExpansion=
"1"
AdditionalIncludeDirectories=
"include,taocrypt\include,mySTL"
AdditionalIncludeDirectories=
"include,taocrypt\include,
taocrypt\
mySTL"
PreprocessorDefinitions=
"WIN32;NDEBUG;_LIB;YASSL_PREFIX"
StringPooling=
"TRUE"
ExceptionHandling=
"FALSE"
...
...
include/my_sys.h
View file @
0e8e6049
...
...
@@ -879,7 +879,12 @@ extern int my_getncpus();
#define HAVE_MMAP
#endif
#ifndef __NETWARE__
int
my_getpagesize
(
void
);
#else
#define my_getpagesize() 8192
#endif
void
*
my_mmap
(
void
*
,
size_t
,
int
,
int
,
int
,
my_off_t
);
int
my_munmap
(
void
*
,
size_t
);
#endif
...
...
libmysql/Makefile.shared
View file @
0e8e6049
...
...
@@ -89,8 +89,8 @@ DEFS = -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
$(target_defs)
if
HAVE_YASSL
yassl_las
=
$(top_
src
dir)
/extra/yassl/src/libyassl.la
\
$(top_
src
dir)
/extra/yassl/taocrypt/src/libtaocrypt.la
yassl_las
=
$(top_
build
dir)
/extra/yassl/src/libyassl.la
\
$(top_
build
dir)
/extra/yassl/taocrypt/src/libtaocrypt.la
endif
# The automatic dependencies miss this
...
...
libmysql_r/Makefile.am
View file @
0e8e6049
...
...
@@ -36,12 +36,9 @@ libmysqlclient_r_la_LDFLAGS = $(target_ldflags)
# This is called from the toplevel makefile
link_sources
:
set
-x
;
\
for
f
in
`
cd
$(top_srcdir)
/libmysql
&&
echo
*
.[ch]
`
;
do
\
rm
-f
$$
f
;
\
@LN_CP_F@
$(top_srcdir)
/libmysql/
$$
f
$$
f
;
\
for
d
in
$(top_srcdir)
/libmysql
$(top_builddir)
/libmysql
;
do
\
for
f
in
`
cd
$$
d
&&
echo
*
.[ch]
`
;
do
\
rm
-f
$$
f
;
\
@LN_CP_F@
$$
d/
$$
f
$$
f
;
\
done
;
\
done
for
f
in
`
cd
$(top_builddir)
/libmysql
&&
echo
*
.[ch]
`
;
do
\
rm
-f
$$
f
;
\
@LN_CP_F@
$(top_builddir)
/libmysql/
$$
f
$$
f
;
\
done
libmysqld/Makefile.am
View file @
0e8e6049
...
...
@@ -29,8 +29,8 @@ DEFS = -DEMBEDDED_LIBRARY -DMYSQL_SERVER \
-DSHAREDIR
=
"
\"
$(MYSQLSHAREdir)
\"
"
\
-DLIBDIR
=
"
\"
$(MYSQLLIBdir)
\"
"
INCLUDES
=
-I
$(top_builddir)
/include
-I
$(top_srcdir)
/include
\
-I
$(top_builddir)
/
include
-I
$(top_srcdir)
/include
\
-I
$(top_srcdir)
/sql
-I
$(top_srcdir)
/sql
/examples
\
-I
$(top_builddir)
/
sql
-I
$(top_srcdir)
/sql
\
-I
$(top_srcdir)
/sql/examples
\
-I
$(top_srcdir)
/regex
\
$(openssl_includes)
@ZLIB_INCLUDES@
\
@condition_dependent_plugin_includes@
...
...
@@ -155,16 +155,28 @@ endif
#libmysqld_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@
#CLEANFILES = $(libmysqld_la_LIBADD) libmysqld.la
# This is called from the toplevel makefile
# This is called from the toplevel makefile. If we can link now
# to an existing file in source, we do that, else we assume it
# will show up in the build tree eventually (generated file).
link_sources
:
set
-x
;
\
for
f
in
$(sqlsources)
;
do
\
rm
-f
$$
f
;
\
@LN_CP_F@
$(top_srcdir)
/sql/
$$
f
$$
f
;
\
if
test
-e
$(top_srcdir)
/sql/
$$
f
;
\
then
\
@LN_CP_F@
$(top_srcdir)
/sql/
$$
f
$$
f
;
\
else
\
@LN_CP_F@
$(top_builddir)
/sql/
$$
f
$$
f
;
\
fi
;
\
done
;
\
for
f
in
$(libmysqlsources)
;
do
\
rm
-f
$$
f
;
\
@LN_CP_F@
$(top_srcdir)
/libmysql/
$$
f
$$
f
;
\
if
test
-e
$(top_srcdir)
/libmysql/
$$
f
;
\
then
\
@LN_CP_F@
$(top_srcdir)
/libmysql/
$$
f
$$
f
;
\
else
\
@LN_CP_F@
$(top_builddir)
/libmysql/
$$
f
$$
f
;
\
fi
;
\
done
;
\
if
test
-n
"
$(sqlstoragesources)
"
;
\
then
\
...
...
mysql-test/lib/mtr_report.pl
View file @
0e8e6049
...
...
@@ -89,10 +89,14 @@ sub mtr_report_test_skipped ($) {
{
print
"
[ disabled ]
$tinfo
->{'comment'}
\n
";
}
els
e
els
if
(
$tinfo
->
{'
comment
'}
)
{
print
"
[ skipped ]
$tinfo
->{'comment'}
\n
";
}
else
{
print
"
[ skipped ]
\n
";
}
}
sub
mtr_report_tests_not_skipped_though_disabled
($)
{
...
...
mysql-test/lib/mtr_unique.pl
0 → 100644
View file @
0e8e6049
#
# This file is used from mysql-test-run.pl when choosing
# port numbers and directories to use for running mysqld.
#
use
strict
;
use
Fcntl
'
:flock
';
#
# Requested IDs are stored in a hash and released upon END.
#
my
%
mtr_unique_assigned_ids
=
();
END
{
while
(
my
(
$id
,
$file
)
=
each
(
%
mtr_unique_assigned_ids
))
{
print
"
Autoreleasing
$file
:
$id
\n
";
mtr_release_unique_id
(
$file
,
$id
);
}
}
#
# Require a unique, numerical ID, given a file name (where all
# requested IDs are stored), a minimum and a maximum value.
#
# We use flock to implement locking for the ID file and ignore
# possible problems arising from lack of support for it on
# some platforms (it should work on most, and the possible
# race condition would occur rarely). The proper solution for
# this is a daemon that manages IDs, of course.
#
# If no unique ID within the specified parameters can be
# obtained, return undef.
#
sub
mtr_require_unique_id
($$$)
{
my
$file
=
shift
;
my
$min
=
shift
;
my
$max
=
shift
;
my
$ret
=
undef
;
my
$changed
=
0
;
my
$can_use_ps
=
`
ps -e | grep '^[ ]*$$ '
`;
if
(
eval
("
readlink '
$file
'
")
||
eval
("
readlink '
$file
.sem'
"))
{
die
'
lock file is a symbolic link
';
}
chmod
0777
,
"
$file
.sem
";
open
SEM
,
"
>
",
"
$file
.sem
"
or
die
"
can't write to
$file
.sem
";
flock
SEM
,
LOCK_EX
or
die
"
can't lock
$file
.sem
";
if
(
!
-
e
$file
)
{
open
FILE
,
"
>
",
$file
or
die
"
can't create
$file
";
close
FILE
;
}
if
(
eval
("
readlink '
$file
'
")
||
eval
("
readlink '
$file
.sem'
"))
{
die
'
lock file is a symbolic link
';
}
chmod
0777
,
$file
;
open
FILE
,
"
+<
",
$file
or
die
"
can't open
$file
";
select
undef
,
undef
,
undef
,
0.2
;
seek
FILE
,
0
,
0
;
my
%
taken
=
();
while
(
<
FILE
>
)
{
chomp
;
my
(
$id
,
$pid
)
=
split
/ /
;
$taken
{
$id
}
=
$pid
;
if
(
$can_use_ps
)
{
my
$res
=
`
ps -e | grep '^[ ]*
$pid
'
`;
if
(
!
$res
)
{
print
"
Ignoring slot
$id
used by missing process
$pid
.
\n
";
delete
$taken
{
$id
};
++
$changed
;
}
}
}
for
(
my
$i
=
$min
;
$i
<=
$max
;
++
$i
)
{
if
(
!
exists
$taken
{
$i
})
{
$ret
=
$i
;
$taken
{
$i
}
=
$$
;
++
$changed
;
last
;
}
}
if
(
$changed
)
{
seek
FILE
,
0
,
0
;
truncate
FILE
,
0
or
die
"
can't truncate
$file
";
for
my
$k
(
keys
%
taken
)
{
print
FILE
$k
.
'
'
.
$taken
{
$k
}
.
"
\n
";
}
}
close
FILE
;
flock
SEM
,
LOCK_UN
or
warn
"
can't unlock
$file
.sem
";
close
SEM
;
$mtr_unique_assigned_ids
{
$ret
}
=
$file
if
defined
$ret
;
return
$ret
;
}
#
# Require a unique ID like above, but sleep if no ID can be
# obtained immediately.
#
sub
mtr_require_unique_id_and_wait
($$$)
{
my
$ret
=
mtr_require_unique_id
(
$_
[
0
],
$_
[
1
],
$_
[
2
]);
while
(
!
defined
$ret
)
{
sleep
30
;
$ret
=
mtr_require_unique_id
(
$_
[
0
],
$_
[
1
],
$_
[
2
]);
print
"
Waiting for unique id to become available...
\n
"
unless
$ret
;
}
return
$ret
;
}
#
# Release a unique ID.
#
sub
mtr_release_unique_id
($$)
{
my
$file
=
shift
;
my
$myid
=
shift
;
if
(
eval
("
readlink '
$file
'
")
||
eval
("
readlink '
$file
.sem'
"))
{
die
'
lock file is a symbolic link
';
}
open
SEM
,
"
>
",
"
$file
.sem
"
or
die
"
can't write to
$file
.sem
";
flock
SEM
,
LOCK_EX
or
die
"
can't lock
$file
.sem
";
if
(
eval
("
readlink '
$file
'
")
||
eval
("
readlink '
$file
.sem'
"))
{
die
'
lock file is a symbolic link
';
}
if
(
!
-
e
$file
)
{
open
FILE
,
"
>
",
$file
or
die
"
can't create
$file
";
close
FILE
;
}
open
FILE
,
"
+<
",
$file
or
die
"
can't open
$file
";
select
undef
,
undef
,
undef
,
0.2
;
seek
FILE
,
0
,
0
;
my
%
taken
=
();
while
(
<
FILE
>
)
{
chomp
;
my
(
$id
,
$pid
)
=
split
/ /
;
$taken
{
$id
}
=
$pid
;
}
delete
$taken
{
$myid
};
seek
FILE
,
0
,
0
;
truncate
FILE
,
0
or
die
"
can't truncate
$file
";
for
my
$k
(
keys
%
taken
)
{
print
FILE
$k
.
'
'
.
$taken
{
$k
}
.
"
\n
";
}
close
FILE
;
flock
SEM
,
LOCK_UN
or
warn
"
can't unlock
$file
.sem
";
close
SEM
;
delete
$mtr_unique_assigned_ids
{
$myid
};
}
1
;
mysql-test/mysql-test-run.pl
View file @
0e8e6049
...
...
@@ -66,7 +66,6 @@ use IO::Socket::INET;
use
Data::
Dumper
;
use
strict
;
use
warnings
;
use
diagnostics
;
select
(
STDOUT
);
$|
=
1
;
# Automatically flush STDOUT
...
...
@@ -88,6 +87,7 @@ require "lib/mtr_diff.pl";
require
"
lib/mtr_match.pl
";
require
"
lib/mtr_misc.pl
";
require
"
lib/mtr_stress.pl
";
require
"
lib/mtr_unique.pl
";
$
Devel::Trace::
TRACE
=
1
;
...
...
@@ -448,7 +448,6 @@ sub main () {
mtr_exit
(
0
);
}
##############################################################################
#
# Default settings
...
...
@@ -472,6 +471,12 @@ sub command_line_setup () {
if
(
$ENV
{'
MTR_BUILD_THREAD
'}
)
{
# If so requested, we try to avail ourselves of a unique build thread number.
if
(
lc
(
$ENV
{'
MTR_BUILD_THREAD
'})
eq
'
auto
'
)
{
print
"
Requesting build thread...
";
$ENV
{'
MTR_BUILD_THREAD
'}
=
mtr_require_unique_id_and_wait
("
/tmp/mysql-test-ports
",
200
,
299
);
print
"
got
"
.
$ENV
{'
MTR_BUILD_THREAD
'}
.
"
\n
";
}
set_mtr_build_thread_ports
(
$ENV
{'
MTR_BUILD_THREAD
'});
}
...
...
sql-common/my_time.c
View file @
0e8e6049
...
...
@@ -780,7 +780,7 @@ long calc_daynr(uint year,uint month,uint day)
*/
my_time_t
my_system_gmt_sec
(
const
MYSQL_TIME
*
t_src
,
long
*
my_timezone
,
bool
*
in_dst_time_gap
)
my_
bool
*
in_dst_time_gap
)
{
uint
loop
;
time_t
tmp
=
0
;
...
...
storage/ndb/config/type_kernel.mk.am
View file @
0e8e6049
INCLUDES += \
-I$(srcdir) -I$(top_srcdir)/include \
-I$(srcdir) \
-I$(top_builddir)/include \
-I$(top_builddir)/ndb/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/storage/ndb/include \
-I$(top_srcdir)/storage/ndb/src/kernel/vm \
-I$(top_srcdir)/storage/ndb/src/kernel/error \
...
...
storage/ndb/config/type_ndbapi.mk.am
View file @
0e8e6049
INCLUDES += \
-I$(srcdir) -I$(top_srcdir)/include \
-I$(srcdir) \
-I$(top_builddir)/include \
-I$(top_builddir)/ndb/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/mysys \
-I$(top_srcdir)/storage/ndb/include \
-I$(top_srcdir)/storage/ndb/include/kernel \
...
...
storage/ndb/config/type_ndbapitest.mk.am
View file @
0e8e6049
...
...
@@ -5,7 +5,10 @@ LDADD += $(top_builddir)/storage/ndb/test/src/libNDBT.a \
$(top_builddir)/mysys/libmysys.a \
$(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@
INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/include \
INCLUDES += -I$(top_srcdir) \
-I$(top_builddir)/include \
-I$(top_builddir)/ndb/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/storage/ndb/include \
-I$(top_srcdir)/storage/ndb/include/ndbapi \
-I$(top_srcdir)/storage/ndb/include/util \
...
...
storage/ndb/config/type_ndbapitools.mk.am
View file @
0e8e6049
...
...
@@ -5,7 +5,10 @@ LDADD += \
$(top_builddir)/mysys/libmysys.a \
$(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ @ZLIB_LIBS@
INCLUDES += -I$(srcdir) -I$(top_srcdir)/include \
INCLUDES += -I$(srcdir) \
-I$(top_builddir)/include \
-I$(top_builddir)/ndb/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/storage/ndb/include \
-I$(top_srcdir)/storage/ndb/include/ndbapi \
-I$(top_srcdir)/storage/ndb/include/util \
...
...
storage/ndb/config/type_util.mk.am
View file @
0e8e6049
INCLUDES += -I$(srcdir) \
-I$(top_builddir)/include \
-I$(top_builddir)/ndb/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/mysys \
-I$(top_srcdir)/storage/ndb/include \
...
...
storage/ndb/src/kernel/Makefile.am
View file @
0e8e6049
...
...
@@ -9,22 +9,22 @@ ndbd_SOURCES = main.cpp SimBlockList.cpp
include
$(top_srcdir)/storage/ndb/config/type_kernel.mk.am
INCLUDES
+=
\
-I
blocks
/cmvmi
\
-I
blocks
/dbacc
\
-I
blocks
/dbdict
\
-I
blocks
/dbdih
\
-I
blocks
/dblqh
\
-I
blocks
/dbtc
\
-I
blocks
/dbtup
\
-I
blocks
/ndbfs
\
-I
blocks
/ndbcntr
\
-I
blocks
/qmgr
\
-I
blocks
/trix
\
-I
blocks
/backup
\
-I
blocks
/dbutil
\
-I
blocks
/suma
\
-I
blocks
/dbtux
\
-I
blocks
-I
$(srcdir)
/
blocks/cmvmi
\
-I
$(srcdir)
/
blocks/dbacc
\
-I
$(srcdir)
/
blocks/dbdict
\
-I
$(srcdir)
/
blocks/dbdih
\
-I
$(srcdir)
/
blocks/dblqh
\
-I
$(srcdir)
/
blocks/dbtc
\
-I
$(srcdir)
/
blocks/dbtup
\
-I
$(srcdir)
/
blocks/ndbfs
\
-I
$(srcdir)
/
blocks/ndbcntr
\
-I
$(srcdir)
/
blocks/qmgr
\
-I
$(srcdir)
/
blocks/trix
\
-I
$(srcdir)
/
blocks/backup
\
-I
$(srcdir)
/
blocks/dbutil
\
-I
$(srcdir)
/
blocks/suma
\
-I
$(srcdir)
/
blocks/dbtux
\
-I
$(srcdir)
/
blocks
LDADD
+=
\
blocks/libblocks.a
\
...
...
storage/ndb/src/mgmsrv/Makefile.am
View file @
0e8e6049
...
...
@@ -23,7 +23,7 @@ INCLUDES_LOC = -I$(top_srcdir)/storage/ndb/src/ndbapi \
-I
$(top_srcdir)
/storage/ndb/src/common/mgmcommon
\
-I
$(top_srcdir)
/storage/ndb/src/mgmclient
LDADD_LOC
=
$(top_
src
dir)
/storage/ndb/src/mgmclient/CommandInterpreter.o
\
LDADD_LOC
=
$(top_
build
dir)
/storage/ndb/src/mgmclient/CommandInterpreter.o
\
$(top_builddir)
/storage/ndb/src/libndbclient.la
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/mysys/libmysys.a
\
...
...
support-files/mysql.spec.sh
View file @
0e8e6049
...
...
@@ -193,6 +193,8 @@ necessary to develop MySQL client applications.
%package shared
Summary: MySQL - Shared libraries
Group: Applications/Databases
Provides: mysql-shared
Obsoletes: mysql-shared
%description shared
This package contains the shared libraries
(
*
.so
*
)
which certain
...
...
@@ -687,6 +689,12 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
*
Thu Nov 16 2006 Joerg Bruehe <joerg@mysql.com>
- Explicitly note that the
"MySQL-shared"
RPMs
(
as built by MySQL AB
)
replace
"mysql-shared"
(
as distributed by SuSE
)
to allow easy upgrading
(
bug#22081
)
.
*
Mon Nov 13 2006 Joerg Bruehe <joerg@mysql.com>
- Add
"--with-partition"
to all server builds.
...
...
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