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
9cc6497d
Commit
9cc6497d
authored
Sep 18, 2009
by
Marc Alff
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-trunk-mr (revno 2879) --> mysql-trunk-signal
parents
4336ca40
1ab38908
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
30 deletions
+40
-30
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
scripts/Makefile.am
scripts/Makefile.am
+0
-1
scripts/mysql_config.pl.in
scripts/mysql_config.pl.in
+1
-1
scripts/mysql_config.sh
scripts/mysql_config.sh
+1
-1
storage/innobase/handler/i_s.cc
storage/innobase/handler/i_s.cc
+10
-8
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+2
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+18
-18
No files found.
mysql-test/mysql-test-run.pl
View file @
9cc6497d
...
@@ -1781,6 +1781,14 @@ sub environment_setup {
...
@@ -1781,6 +1781,14 @@ sub environment_setup {
$ENV
{'
HA_EXAMPLE_SO
'}
=
"
'
"
.
$plugin_filename
.
"
'
";
$ENV
{'
HA_EXAMPLE_SO
'}
=
"
'
"
.
$plugin_filename
.
"
'
";
$ENV
{'
EXAMPLE_PLUGIN_LOAD
'}
=
"
--plugin_load=;EXAMPLE=
"
.
$plugin_filename
.
"
;
";
$ENV
{'
EXAMPLE_PLUGIN_LOAD
'}
=
"
--plugin_load=;EXAMPLE=
"
.
$plugin_filename
.
"
;
";
}
}
else
{
# Some ".opt" files use some of these variables, so they must be defined
$ENV
{'
EXAMPLE_PLUGIN
'}
=
"";
$ENV
{'
EXAMPLE_PLUGIN_OPT
'}
=
"";
$ENV
{'
HA_EXAMPLE_SO
'}
=
"";
$ENV
{'
EXAMPLE_PLUGIN_LOAD
'}
=
"";
}
# ----------------------------------------------------
# ----------------------------------------------------
# Add the path where mysqld will find mypluglib.so
# Add the path where mysqld will find mypluglib.so
...
...
scripts/Makefile.am
View file @
9cc6497d
...
@@ -169,7 +169,6 @@ SUFFIXES = .sh
...
@@ -169,7 +169,6 @@ SUFFIXES = .sh
-e
's!@''ZLIB_LIBS''@!@ZLIB_LIBS@!'
\
-e
's!@''ZLIB_LIBS''@!@ZLIB_LIBS@!'
\
-e
's!@''LIBS''@!@LIBS@!'
\
-e
's!@''LIBS''@!@LIBS@!'
\
-e
's!@''WRAPLIBS''@!@WRAPLIBS@!'
\
-e
's!@''WRAPLIBS''@!@WRAPLIBS@!'
\
-e
's!@''innodb_system_libs''@!@innodb_system_libs@!'
\
-e
's!@''openssl_libs''@!@openssl_libs@!'
\
-e
's!@''openssl_libs''@!@openssl_libs@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!'
\
-e
's!@''MYSQL_BASE_VERSION''@!@MYSQL_BASE_VERSION@!'
\
...
...
scripts/mysql_config.pl.in
View file @
9cc6497d
...
@@ -202,7 +202,7 @@ $flags->{libs} =
...
@@ -202,7 +202,7 @@ $flags->{libs} =
$flags
->
{
libs_r
}
=
$flags
->
{
libs_r
}
=
[
@ldflags
,
@lib_r_opts
,'
@ZLIB_DEPS@
','
@LIBS@
','
@openssl_libs@
'];
[
@ldflags
,
@lib_r_opts
,'
@ZLIB_DEPS@
','
@LIBS@
','
@openssl_libs@
'];
$flags
->
{
embedded_libs
}
=
$flags
->
{
embedded_libs
}
=
[
@ldflags
,
@lib_e_opts
,'
@LIBDL@
','
@ZLIB_DEPS@
','
@LIBS@
','
@WRAPLIBS@
','
@
innodb_system_libs@
','
@
openssl_libs@
'];
[
@ldflags
,
@lib_e_opts
,'
@LIBDL@
','
@ZLIB_DEPS@
','
@LIBS@
','
@WRAPLIBS@
','
@openssl_libs@
'];
$flags
->
{
include
}
=
["
-I
$pkgincludedir
"];
$flags
->
{
include
}
=
["
-I
$pkgincludedir
"];
$flags
->
{
cflags
}
=
[
@
{
$flags
->
{
include
}},
split
("
",'
@CFLAGS@
')];
$flags
->
{
cflags
}
=
[
@
{
$flags
->
{
include
}},
split
("
",'
@CFLAGS@
')];
...
...
scripts/mysql_config.sh
View file @
9cc6497d
...
@@ -107,7 +107,7 @@ fi
...
@@ -107,7 +107,7 @@ fi
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
libs
=
"
$libs
@openssl_libs@ @STATIC_NSS_FLAGS@ "
libs
=
"
$libs
@openssl_libs@ @STATIC_NSS_FLAGS@ "
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@ "
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @
innodb_system_libs@ @
openssl_libs@ "
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
if
[
-r
"
$pkglibdir
/libmygcc.a"
]
;
then
if
[
-r
"
$pkglibdir
/libmygcc.a"
]
;
then
# When linking against the static library with a different version of GCC
# When linking against the static library with a different version of GCC
...
...
storage/innobase/handler/i_s.cc
View file @
9cc6497d
...
@@ -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/innobase/include/univ.i
View file @
9cc6497d
...
@@ -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
...
...
support-files/mysql.spec.sh
View file @
9cc6497d
...
@@ -465,11 +465,9 @@ rm -fr $RBR%{_datadir}/sql-bench
...
@@ -465,11 +465,9 @@ rm -fr $RBR%{_datadir}/sql-bench
# will appreciate that, as all services usually offer this.
# will appreciate that, as all services usually offer this.
ln
-s
%
{
_sysconfdir
}
/init.d/mysql
$RPM_BUILD_ROOT
%
{
_sbindir
}
/rcmysql
ln
-s
%
{
_sysconfdir
}
/init.d/mysql
$RPM_BUILD_ROOT
%
{
_sbindir
}
/rcmysql
# Touch the place where the my.cnf config file and mysqlmanager.passwd
# Touch the place where the my.cnf config file might be located
# (MySQL Instance Manager password file) might be located
# Just to make sure it's in the file list and marked as a config file
# Just to make sure it's in the file list and marked as a config file
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
touch
$RBR
%
{
_sysconfdir
}
/mysqlmanager.passwd
%pre server
%pre server
# Check if we can safely upgrade. An upgrade is only safe if it's from one
# Check if we can safely upgrade. An upgrade is only safe if it's from one
...
@@ -667,7 +665,6 @@ fi
...
@@ -667,7 +665,6 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_upgrade.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_upgrade.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlman.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlman.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man8/mysqlmanager.8
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql.server.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql.server.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqltest.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqltest.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_tzinfo_to_sql.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_tzinfo_to_sql.1
*
...
@@ -677,7 +674,6 @@ fi
...
@@ -677,7 +674,6 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/replace.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/replace.1
*
%ghost %config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/my.cnf
%ghost %config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/my.cnf
%ghost %config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/mysqlmanager.passwd
%attr
(
755, root, root
)
%
{
_bindir
}
/innochecksum
%attr
(
755, root, root
)
%
{
_bindir
}
/innochecksum
%attr
(
755, root, root
)
%
{
_bindir
}
/my_print_defaults
%attr
(
755, root, root
)
%
{
_bindir
}
/my_print_defaults
...
@@ -709,7 +705,6 @@ fi
...
@@ -709,7 +705,6 @@ fi
%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
%attr
(
755, root, root
)
%
{
_sbindir
}
/mysqlmanager
%attr
(
755, root, root
)
%
{
_sbindir
}
/rcmysql
%attr
(
755, root, root
)
%
{
_sbindir
}
/rcmysql
%attr
(
644, root, root
)
%config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/logrotate.d/mysql
%attr
(
644, root, root
)
%config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/logrotate.d/mysql
...
@@ -865,7 +860,12 @@ fi
...
@@ -865,7 +860,12 @@ fi
%changelog
%changelog
*
Fri Aug 28 2009 Joerg Bruehe <joerg.bruehe@sun.com>
*
Fri Aug 28 2009 Joerg Bruehe <joerg.bruehe@sun.com>
- Merge up form 5.1 to 5.4: Remove handling
for
the InnoDB plugin.
- Merge up from 5.1 to 5.4: Remove handling
for
the InnoDB plugin.
*
Thu Aug 27 2009 Joerg Bruehe <joerg.bruehe@sun.com>
- This version does not contain the
"Instance manager"
,
"mysqlmanager"
:
Remove it from the spec file so that packaging succeeds.
*
Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com>
*
Mon Aug 24 2009 Jonathan Perkin <jperkin@sun.com>
...
...
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