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
ecd37e25
Commit
ecd37e25
authored
Sep 03, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
3rd merge from main
parents
1a5d89ca
b5b32635
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
20 deletions
+58
-20
CMakeLists.txt
CMakeLists.txt
+1
-0
cmd-line-utils/readline/util.c
cmd-line-utils/readline/util.c
+7
-2
mysql-test/Makefile.am
mysql-test/Makefile.am
+2
-1
mysql-test/lib/My/SafeProcess/Makefile.am
mysql-test/lib/My/SafeProcess/Makefile.am
+2
-1
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+17
-0
storage/innodb_plugin/handler/i_s.cc
storage/innodb_plugin/handler/i_s.cc
+10
-8
storage/innodb_plugin/include/univ.i
storage/innodb_plugin/include/univ.i
+2
-1
storage/ndb/test/run-test/Makefile.am
storage/ndb/test/run-test/Makefile.am
+2
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+15
-6
No files found.
CMakeLists.txt
View file @
ecd37e25
...
@@ -137,6 +137,7 @@ ENDIF(MSVC)
...
@@ -137,6 +137,7 @@ ENDIF(MSVC)
IF
(
WIN32
)
IF
(
WIN32
)
ADD_DEFINITIONS
(
"-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE"
)
ADD_DEFINITIONS
(
"-D_WINDOWS -D__WIN__ -D_CRT_SECURE_NO_DEPRECATE"
)
ADD_DEFINITIONS
(
"-D_WIN32_WINNT=0x0501"
)
ENDIF
(
WIN32
)
ENDIF
(
WIN32
)
# default to x86 platform. We'll check for X64 in a bit
# default to x86 platform. We'll check for X64 in a bit
...
...
cmd-line-utils/readline/util.c
View file @
ecd37e25
...
@@ -81,8 +81,13 @@ rl_alphabetic (c)
...
@@ -81,8 +81,13 @@ rl_alphabetic (c)
#if defined (HANDLE_MULTIBYTE)
#if defined (HANDLE_MULTIBYTE)
int
int
_rl_walphabetic
(
wc
)
/*
wchar_t
wc
;
Portability issue with VisualAge C++ Professional / C for AIX Compiler, Version 6:
"util.c", line 84.1: 1506-343 (S) Redeclaration of _rl_walphabetic differs
from previous declaration on line 110 of "rlmbutil.h".
So, put type in the function signature here.
*/
_rl_walphabetic
(
wchar_t
wc
)
{
{
int
c
;
int
c
;
...
...
mysql-test/Makefile.am
View file @
ecd37e25
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
## Process this file with automake to create Makefile.in
## Process this file with automake to create Makefile.in
testdir
=
$(prefix)
/mysql-test
testroot
=
$(prefix)
testdir
=
$(testroot)
/mysql-test
test_SCRIPTS
=
mtr
\
test_SCRIPTS
=
mtr
\
mysql-test-run
\
mysql-test-run
\
...
...
mysql-test/lib/My/SafeProcess/Makefile.am
View file @
ecd37e25
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
# along with this program; if not, write to the Free Software
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
safedir
=
$(prefix)
/mysql-test/lib/My/SafeProcess
testroot
=
$(prefix)
safedir
=
$(testroot)
/mysql-test/lib/My/SafeProcess
#nobase_bin_PROGRAMS = ...
#nobase_bin_PROGRAMS = ...
safe_PROGRAMS
=
my_safe_process
safe_PROGRAMS
=
my_safe_process
...
...
scripts/make_win_bin_dist
View file @
ecd37e25
...
@@ -279,6 +279,7 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/
...
@@ -279,6 +279,7 @@ cp include/mysql/plugin.h $DESTDIR/include/mysql/
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
mkdir
-p
$DESTDIR
/lib/opt
mkdir
-p
$DESTDIR
/lib/opt
mkdir
-p
$DESTDIR
/lib/plugin
cp
libmysql/
$TARGET
/libmysql.dll
\
cp
libmysql/
$TARGET
/libmysql.dll
\
libmysql/
$TARGET
/libmysql.lib
\
libmysql/
$TARGET
/libmysql.lib
\
libmysql/
$TARGET
/mysqlclient.lib
\
libmysql/
$TARGET
/mysqlclient.lib
\
...
@@ -286,6 +287,10 @@ cp libmysql/$TARGET/libmysql.dll \
...
@@ -286,6 +287,10 @@ cp libmysql/$TARGET/libmysql.dll \
regex/
$TARGET
/regex.lib
\
regex/
$TARGET
/regex.lib
\
strings/
$TARGET
/strings.lib
\
strings/
$TARGET
/strings.lib
\
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
zlib/
$TARGET
/zlib.lib
$DESTDIR
/lib/opt/
if
[
-d
storage/innodb_plugin
]
;
then
cp
storage/innodb_plugin/
$TARGET
/ha_innodb_plugin.dll
\
$DESTDIR
/lib/plugin/
fi
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
if
[
x
"
$TARGET
"
!=
x
"release"
]
;
then
cp
libmysql/
$TARGET
/libmysql.pdb
\
cp
libmysql/
$TARGET
/libmysql.pdb
\
...
@@ -294,11 +299,17 @@ if [ x"$TARGET" != x"release" ] ; then
...
@@ -294,11 +299,17 @@ if [ x"$TARGET" != x"release" ] ; then
regex/
$TARGET
/regex.pdb
\
regex/
$TARGET
/regex.pdb
\
strings/
$TARGET
/strings.pdb
\
strings/
$TARGET
/strings.pdb
\
zlib/
$TARGET
/zlib.pdb
$DESTDIR
/lib/opt/
zlib/
$TARGET
/zlib.pdb
$DESTDIR
/lib/opt/
if
[
-d
storage/innodb_plugin
]
;
then
cp
storage/innodb_plugin/
$TARGET
/ha_innodb_plugin.pdb
\
$DESTDIR
/lib/plugin/
fi
fi
fi
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
if
[
x
"
$PACK_DEBUG
"
=
x
""
-a
-f
"libmysql/debug/libmysql.lib"
-o
\
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
x
"
$PACK_DEBUG
"
=
x
"yes"
]
;
then
mkdir
-p
$DESTDIR
/lib/debug
mkdir
-p
$DESTDIR
/lib/debug
mkdir
-p
$DESTDIR
/lib/plugin/debug
cp
libmysql/debug/libmysql.dll
\
cp
libmysql/debug/libmysql.dll
\
libmysql/debug/libmysql.lib
\
libmysql/debug/libmysql.lib
\
libmysql/debug/libmysql.pdb
\
libmysql/debug/libmysql.pdb
\
...
@@ -312,6 +323,12 @@ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \
...
@@ -312,6 +323,12 @@ if [ x"$PACK_DEBUG" = x"" -a -f "libmysql/debug/libmysql.lib" -o \
strings/debug/strings.pdb
\
strings/debug/strings.pdb
\
zlib/debug/zlib.lib
\
zlib/debug/zlib.lib
\
zlib/debug/zlib.pdb
$DESTDIR
/lib/debug/
zlib/debug/zlib.pdb
$DESTDIR
/lib/debug/
if
[
-d
storage/innodb_plugin
]
;
then
cp
storage/innodb_plugin/debug/ha_innodb_plugin.dll
\
storage/innodb_plugin/debug/ha_innodb_plugin.lib
\
storage/innodb_plugin/debug/ha_innodb_plugin.pdb
\
$DESTDIR
/lib/plugin/debug/
fi
fi
fi
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
...
...
storage/innodb_plugin/handler/i_s.cc
View file @
ecd37e25
...
@@ -69,14 +69,16 @@ do { \
...
@@ -69,14 +69,16 @@ do { \
#define STRUCT_FLD(name, value) value
#define STRUCT_FLD(name, value) value
#endif
#endif
static
const
ST_FIELD_INFO
END_OF_ST_FIELD_INFO
=
/* Don't use a static const variable here, as some C++ compilers (notably
{
STRUCT_FLD
(
field_name
,
NULL
),
HPUX aCC: HP ANSI C++ B3910B A.03.65) can't handle it. */
STRUCT_FLD
(
field_length
,
0
),
#define END_OF_ST_FIELD_INFO \
STRUCT_FLD
(
field_type
,
MYSQL_TYPE_NULL
),
{STRUCT_FLD(field_name, NULL), \
STRUCT_FLD
(
value
,
0
),
STRUCT_FLD(field_length, 0), \
STRUCT_FLD
(
field_flags
,
0
),
STRUCT_FLD(field_type, MYSQL_TYPE_NULL), \
STRUCT_FLD
(
old_name
,
""
),
STRUCT_FLD(value, 0), \
STRUCT_FLD
(
open_method
,
SKIP_OPEN_TABLE
)};
STRUCT_FLD(field_flags, 0), \
STRUCT_FLD(old_name, ""), \
STRUCT_FLD(open_method, SKIP_OPEN_TABLE)}
/*
/*
Use the following types mapping:
Use the following types mapping:
...
...
storage/innodb_plugin/include/univ.i
View file @
ecd37e25
...
@@ -408,7 +408,8 @@ it is read. */
...
@@ -408,7 +408,8 @@ it is read. */
/* Minimize cache-miss latency by moving data at addr into a cache before
/* Minimize cache-miss latency by moving data at addr into a cache before
it is read or written. */
it is read or written. */
#
define
UNIV_PREFETCH_RW
(
addr
)
__builtin_prefetch
(
addr
,
1
,
3
)
#
define
UNIV_PREFETCH_RW
(
addr
)
__builtin_prefetch
(
addr
,
1
,
3
)
#
elif
defined
(
__SUNPRO_C
)
||
defined
(
__SUNPRO_CC
)
/* Sun Studio includes sun_prefetch.h as of version 5.9 */
#
elif
(
defined
(
__SUNPRO_C
)
&
&
__SUNPRO_C
>=
0x590
)
||
(defined(__SUNPRO_CC)
&
&
__SUNPRO_CC
>=
0x590
)
#
include
<
sun_prefetch
.
h
>
#
include
<
sun_prefetch
.
h
>
#
if
__SUNPRO_C
>=
0x550
#
if
__SUNPRO_C
>=
0x550
#
undef
UNIV_INTERN
#
undef
UNIV_INTERN
...
...
storage/ndb/test/run-test/Makefile.am
View file @
ecd37e25
...
@@ -13,7 +13,8 @@
...
@@ -13,7 +13,8 @@
# along with this program; if not, write to the Free Software
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
testdir
=
$(prefix)
/mysql-test/ndb
testroot
=
$(prefix)
testdir
=
$(testroot)
/mysql-test/ndb
include
$(top_srcdir)/storage/ndb/config/common.mk.am
include
$(top_srcdir)/storage/ndb/config/common.mk.am
include
$(top_srcdir)/storage/ndb/config/type_util.mk.am
include
$(top_srcdir)/storage/ndb/config/type_util.mk.am
...
...
support-files/mysql.spec.sh
View file @
ecd37e25
...
@@ -319,7 +319,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -319,7 +319,7 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--with-blackhole-storage-engine
\
--with-blackhole-storage-engine
\
--with-federated-storage-engine
\
--with-federated-storage-engine
\
--without-plugin-daemon_example
\
--without-plugin-daemon_example
\
--without-plugin-example
\
--without-plugin-
ft
example
\
--with-partition
\
--with-partition
\
--with-big-tables
\
--with-big-tables
\
%if %{WITH_BUNDLED_ZLIB}
%if %{WITH_BUNDLED_ZLIB}
...
@@ -715,7 +715,11 @@ fi
...
@@ -715,7 +715,11 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/resolve_stack_dump
%attr
(
755, root, root
)
%
{
_bindir
}
/resolve_stack_dump
%attr
(
755, root, root
)
%
{
_bindir
}
/resolveip
%attr
(
755, root, root
)
%
{
_bindir
}
/resolveip
%attr
(
755, root, root
)
%
{
_libdir
}
/plugin/
*
.so
*
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/ha_example.so
*
%if %
{
WITHOUT_INNODB_PLUGIN
}
%else
%attr
(
755, root, root
)
%
{
_libdir
}
/mysql/plugin/ha_innodb_plugin.so
*
%endif
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-debug
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqld-debug
...
@@ -842,8 +846,13 @@ fi
...
@@ -842,8 +846,13 @@ fi
%
{
_libdir
}
/mysql/libvio.a
%
{
_libdir
}
/mysql/libvio.a
%
{
_libdir
}
/mysql/libz.a
%
{
_libdir
}
/mysql/libz.a
%
{
_libdir
}
/mysql/libz.la
%
{
_libdir
}
/mysql/libz.la
%
{
_libdir
}
/plugin/
*
.a
%
{
_libdir
}
/mysql/plugin/ha_example.a
%
{
_libdir
}
/plugin/
*
.la
%
{
_libdir
}
/mysql/plugin/ha_example.la
%if %
{
WITHOUT_INNODB_PLUGIN
}
%else
%
{
_libdir
}
/mysql/plugin/ha_innodb_plugin.a
%
{
_libdir
}
/mysql/plugin/ha_innodb_plugin.la
%endif
%files shared
%files shared
%defattr
(
-, root, root, 0755
)
%defattr
(
-, root, root, 0755
)
...
@@ -880,9 +889,9 @@ fi
...
@@ -880,9 +889,9 @@ fi
*
Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
*
Fri Aug 21 2009 Jonathan Perkin <jperkin@sun.com>
- Install plugin libraries
in
appropriate packages.
- Install plugin libraries
in
appropriate packages.
- Disable example plugins.
- Disable
libdaemon_example and ft
example plugins.
*
Thu Aug 20 2009 Jonathan Perkin <jperkin@s
tripped
>
*
Thu Aug 20 2009 Jonathan Perkin <jperkin@s
un.com
>
- Update variable used
for
mysql-test suite location to match source.
- Update variable used
for
mysql-test suite location to match source.
...
...
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