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
4b68b2d2
Commit
4b68b2d2
authored
Apr 18, 2010
by
Joerg Bruehe
Browse files
Options
Browse Files
Download
Plain Diff
Merge the changes of the 5.5.3-m3 release build
back into the development branches.
parents
091745c8
c62d8e5c
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
63 additions
and
24 deletions
+63
-24
BUILD/choose_configure.sh
BUILD/choose_configure.sh
+5
-0
dbug/dbug.c
dbug/dbug.c
+1
-1
include/my_global.h
include/my_global.h
+13
-4
mysys/typelib.c
mysys/typelib.c
+3
-3
scripts/CMakeLists.txt
scripts/CMakeLists.txt
+1
-1
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+4
-3
sql-common/client.c
sql-common/client.c
+1
-1
sql/mdl.h
sql/mdl.h
+8
-0
storage/innobase/trx/trx0i_s.c
storage/innobase/trx/trx0i_s.c
+8
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+19
-10
No files found.
BUILD/choose_configure.sh
View file @
4b68b2d2
...
...
@@ -2,6 +2,11 @@
# Choose whether to use autoconf created configure
# of perl script that calls cmake.
# # This is a temporary hack to build 5.5.3-m3:
# # The "cmake" way still shows issues in our release build environment.
# # Block it temporarily, but in a way that can easily be undone.
# HAVE_CMAKE=no
# Ensure cmake and perl are there
cmake
-P
cmake/check_minimal_version.cmake
>
/dev/null 2>&1
||
HAVE_CMAKE
=
no
perl
--version
>
/dev/null 2>&1
||
HAVE_CMAKE
=
no
...
...
dbug/dbug.c
View file @
4b68b2d2
...
...
@@ -1365,7 +1365,7 @@ static void DbugVfprintf(FILE *stream, const char* format, va_list args)
{
char
cvtbuf
[
1024
];
size_t
len
;
/
/ Do not use my_vsnprintf, it does not support "%g".
/
* Do not use my_vsnprintf, it does not support "%g". */
len
=
vsnprintf
(
cvtbuf
,
sizeof
(
cvtbuf
),
format
,
args
);
(
void
)
fprintf
(
stream
,
"%s
\n
"
,
cvtbuf
);
}
...
...
include/my_global.h
View file @
4b68b2d2
...
...
@@ -18,6 +18,11 @@
#ifndef _global_h
#define _global_h
/* Client library users on Windows need this macro defined here. */
#if !defined(__WIN__) && defined(_WIN32)
#define __WIN__
#endif
/*
InnoDB depends on some MySQL internals which other plugins should not
need. This is because of InnoDB's foreign key support, "safe" binlog
...
...
@@ -1089,10 +1094,14 @@ typedef long long my_ptrdiff_t;
#define HUGE_PTR
#endif
#endif
#if defined(__IBMC__) || defined(__IBMCPP__)
/* This was _System _Export but caused a lot of warnings on _AIX43 */
#define STDCALL
#elif !defined( STDCALL)
#ifdef STDCALL
#undef STDCALL
#endif
#ifdef _WIN32
#define STDCALL __stdcall
#else
#define STDCALL
#endif
...
...
mysys/typelib.c
View file @
4b68b2d2
...
...
@@ -354,11 +354,11 @@ my_ulonglong find_set_from_flags(const TYPELIB *lib, uint default_name,
!
(
value
=
parse_name
(
&
on_off_default_typelib
,
&
pos
,
end
)))
goto
err
;
if
(
value
==
1
)
/
/ this is '=off'
if
(
value
==
1
)
/
* this is '=off' */
flags_to_clear
|=
bit
;
else
if
(
value
==
2
)
/
/ this is '=on'
else
if
(
value
==
2
)
/
* this is '=on' */
flags_to_set
|=
bit
;
else
/
/ this is '=default'
else
/
* this is '=default' */
{
if
(
default_set
&
bit
)
flags_to_set
|=
bit
;
...
...
scripts/CMakeLists.txt
View file @
4b68b2d2
scripts/make_win_bin_dist
View file @
4b68b2d2
...
...
@@ -249,6 +249,7 @@ cp include/mysql.h \
include/decimal.h
\
include/errmsg.h
\
include/my_global.h
\
include/my_config.h
\
include/my_net.h
\
include/my_getopt.h
\
include/sslopt-longopts.h
\
...
...
@@ -395,15 +396,15 @@ cp scripts/*.sql $DESTDIR/share/
# Clean up from possibly copied SCCS directories
# ----------------------------------------------------------------------
rm
-rf
`
find
$D
I
STDIR
-type
d
-name
SCCS
-print
`
rm
-rf
`
find
$D
E
STDIR
-type
d
-name
SCCS
-print
`
# ----------------------------------------------------------------------
# Copy other files specified on command line DEST=SOURCE
# ----------------------------------------------------------------------
for
arg
do
dst
=
`
echo
$arg
|
sed
's/=.*$//
'
`
src
=
`
echo
$arg
|
sed
's/^.*=//
'
`
dst
=
`
echo
$arg
|
sed
-n
's/=.*$//p
'
`
src
=
`
echo
$arg
|
sed
-n
's/^.*=//p
'
`
if
[
x
"
$dst
"
=
x
""
-o
x
"
$src
"
=
x
""
]
;
then
echo
"Invalid specification of what to copy"
...
...
sql-common/client.c
View file @
4b68b2d2
...
...
@@ -2350,8 +2350,8 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
(
unix_socket
||
mysql_unix_port
)
&&
(
!
host
||
!
strcmp
(
host
,
LOCAL_HOST
)))
{
DBUG_PRINT
(
"info"
,
(
"Using socket"
));
my_socket
sock
=
socket
(
AF_UNIX
,
SOCK_STREAM
,
0
);
DBUG_PRINT
(
"info"
,
(
"Using socket"
));
if
(
sock
==
SOCKET_ERROR
)
{
set_mysql_extended_error
(
mysql
,
CR_SOCKET_CREATE_ERROR
,
...
...
sql/mdl.h
View file @
4b68b2d2
...
...
@@ -15,6 +15,14 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if defined(__IBMC__) || defined(__IBMCPP__)
/* Further down, "next_in_lock" and "next_in_context" have the same type,
and in "sql_plist.h" this leads to an identical signature, which causes
problems in function overloading.
*/
#pragma namemangling(v5)
#endif
#include "sql_plist.h"
#include <my_sys.h>
...
...
storage/innobase/trx/trx0i_s.c
View file @
4b68b2d2
...
...
@@ -28,11 +28,18 @@ table cache" for later retrieval.
Created July 17, 2007 Vasil Dimov
*******************************************************/
/* Found during the build of 5.5.3 on Linux 2.4 and early 2.6 kernels:
The includes "univ.i" -> "my_global.h" cause a different path
to be taken further down with pthread functions and types,
so they must come first.
From the symptoms, this is related to bug#46587 in the MySQL bug DB.
*/
#include "univ.i"
#include <mysql/plugin.h>
#include "mysql_addons.h"
#include "univ.i"
#include "buf0buf.h"
#include "dict0dict.h"
#include "ha0storage.h"
...
...
support-files/mysql.spec.sh
View file @
4b68b2d2
...
...
@@ -430,6 +430,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--with-plugin-archive
\
--with-plugin-blackhole
\
--with-plugin-federated
\
--with-perfschema
\
--without-plugin-daemon_example
\
--without-plugin-ftexample
\
%if %{EMBEDDED_BUILD}
...
...
@@ -565,10 +566,10 @@ install -d $RBR%{_sbindir}
mkdir
$RBR
/tmp-debug-plugin
$MBD
/plugin/debug
(
cd
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
/mysql-debug-%
{
mysql_version
}
/plugin
make
install
DESTDIR
=
$RBR
/tmp-debug-plugin
mv
$RBR
/tmp-debug-plugin/usr/l
ocal/mysql/lib
/mysql/plugin/
*
$MBD
/plugin/debug/
mv
$RBR
/tmp-debug-plugin/usr/l
ib
*
/mysql/plugin/
*
$MBD
/plugin/debug/
# From here, the install hook in "plugin/Makefile.am" will do the rest.
)
rmdir
-p
$RBR
/tmp-debug-plugin/usr/l
ocal/mysql/lib/mysql/plugin
rmdir
-p
$RBR
/tmp-debug-plugin/usr/l
ib
*
/mysql/plugin
||
true
# Install all binaries
(
cd
$MBD
&&
make
install
DESTDIR
=
$RBR
testroot
=
%
{
_datadir
})
...
...
@@ -605,8 +606,8 @@ ln -s %{_sysconfdir}/init.d/mysql $RBR%{_sbindir}/rcmysql
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
%if %
{
WITH_TCMALLOC
}
# Even though this is a shared library, put it under /usr/lib/mysql, so it
# doesn't conflict with possible shared lib by the same name in /usr/lib. See
# Even though this is a shared library, put it under /usr/lib
*
/mysql, so it
# doesn't conflict with possible shared lib by the same name in /usr/lib
*
. See
# `mysql_config --variable=pkglibdir` and mysqld_safe for how this is used.
install
-m
644
"%{malloc_lib_source}"
"
$RBR
%{_libdir}/mysql/%{malloc_lib_target}"
%endif
...
...
@@ -873,10 +874,8 @@ fi
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-debug
%attr
(
755, root, root
)
%
{
_sbindir
}
/rcmysql
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/ha_example.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/semisync_master.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/semisync_slave.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/debug/ha_example.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/debug/semisync_master.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/debug/semisync_slave.so
*
...
...
@@ -1007,14 +1006,10 @@ fi
%
{
_libdir
}
/mysql/libvio.a
%
{
_libdir
}
/mysql/libz.a
%
{
_libdir
}
/mysql/libz.la
%
{
_libdir
}
/mysql/plugin/ha_example.a
%
{
_libdir
}
/mysql/plugin/ha_example.la
%
{
_libdir
}
/mysql/plugin/semisync_master.a
%
{
_libdir
}
/mysql/plugin/semisync_master.la
%
{
_libdir
}
/mysql/plugin/semisync_slave.a
%
{
_libdir
}
/mysql/plugin/semisync_slave.la
%
{
_libdir
}
/mysql/plugin/debug/ha_example.a
%
{
_libdir
}
/mysql/plugin/debug/ha_example.la
%
{
_libdir
}
/mysql/plugin/debug/semisync_master.a
%
{
_libdir
}
/mysql/plugin/debug/semisync_master.la
%
{
_libdir
}
/mysql/plugin/debug/semisync_slave.a
...
...
@@ -1054,6 +1049,20 @@ fi
# merging BK trees)
##############################################################################
%changelog
*
Wed Mar 24 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- Add
"--with-perfschema"
to the configure options.
*
Mon Mar 22 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- User
"usr/lib*"
to allow
for
both
"usr/lib"
and
"usr/lib64"
,
mask
"rmdir"
return
code 1.
- Remove
"ha_example.*"
files from the list, they aren
't built.
* Wed Mar 17 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- Fix a wrong path name in handling the debug plugins.
* Wed Mar 10 2010 Joerg Bruehe <joerg.bruehe@sun.com>
- Take the result of the debug plugin build and put it into the optimized tree,
...
...
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