Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Faustin Lammler
mariadb-10.1
Commits
adc2cd0d
Commit
adc2cd0d
authored
Oct 28, 2016
by
Otto Kekäläinen
Browse files
Update changelog and refresh patches after 10.0.28 import
parent
d91f6c77
Changes
11
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
adc2cd0d
mariadb
-
10.0
(
10.0.2
7
-
3
)
UNRELEASED
;
urgency
=
low
mariadb
-
10.0
(
10.0.2
8
-
1
)
unstable
;
urgency
=
low
*
Open
a
new
changelog
entry
[
Vicen
ț
iu
Ciorbaru
]
*
Fix
tokudb
jemalloc
linking
--
Otto
Kek
ä
l
ä
inen
<
otto
@
debian
.
org
>
Mon
,
03
Oct
2016
11
:
07
:
34
+
0300
[
Otto
Kek
ä
l
ä
inen
]
*
New
upstream
release
10.0.28
.
Includes
fixes
for
the
following
security
vulnerabilities
:
-
CVE
-
2016
-
8283
-
CVE
-
2016
-
7440
-
CVE
-
2016
-
6663
-
CVE
-
2016
-
5629
-
CVE
-
2016
-
5626
-
CVE
-
2016
-
5624
-
CVE
-
2016
-
5616
-
CVE
-
2016
-
5584
-
CVE
-
2016
-
3492
*
Drop
4
patches
that
have
been
applied
upstream
.
--
Otto
Kek
ä
l
ä
inen
<
otto
@
debian
.
org
>
Fri
,
28
Oct
2016
22
:
51
:
14
+
0300
mariadb
-
10.0
(
10.0.27
-
2
)
unstable
;
urgency
=
low
mariadb
-
10.0
(
10.0.27
-
2
)
unstable
;
urgency
=
low
...
...
debian/patches/fix-spelling-errors.patch
View file @
adc2cd0d
...
@@ -49,7 +49,7 @@ Last-Update: 2014-10-02
...
@@ -49,7 +49,7 @@ Last-Update: 2014-10-02
DROP TABLE bookstore;
DROP TABLE bookstore;
--- a/extra/yassl/src/ssl.cpp
--- a/extra/yassl/src/ssl.cpp
+++ b/extra/yassl/src/ssl.cpp
+++ b/extra/yassl/src/ssl.cpp
@@ -
979,7 +979
,7 @@
void OpenSSL_add_all_algorithms() // co
@@ -
1007,7 +1007
,7 @@
void OpenSSL_add_all_algorithms() // co
{}
{}
...
@@ -84,7 +84,7 @@ Last-Update: 2014-10-02
...
@@ -84,7 +84,7 @@ Last-Update: 2014-10-02
44 ru_UA Russian - Ukraine 8 11 , . russian
44 ru_UA Russian - Ukraine 8 11 , . russian
--- a/sql/mysqld.cc
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -707
6
,7 +707
6
,7 @@
struct my_option my_long_options[]=
@@ -707
7
,7 +707
7
,7 @@
struct my_option my_long_options[]=
&opt_show_slave_auth_info, &opt_show_slave_auth_info, 0,
&opt_show_slave_auth_info, &opt_show_slave_auth_info, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
{"skip-bdb", OPT_DEPRECATED_OPTION,
{"skip-bdb", OPT_DEPRECATED_OPTION,
...
@@ -93,7 +93,7 @@ Last-Update: 2014-10-02
...
@@ -93,7 +93,7 @@ Last-Update: 2014-10-02
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
#ifndef DISABLE_GRANT_OPTIONS
#ifndef DISABLE_GRANT_OPTIONS
{"skip-grant-tables", 0,
{"skip-grant-tables", 0,
@@ -841
1
,7 +841
1
,7 @@
mysqld_get_one_option(int optid,
@@ -841
2
,7 +841
2
,7 @@
mysqld_get_one_option(int optid,
break;
break;
case OPT_DEPRECATED_OPTION:
case OPT_DEPRECATED_OPTION:
sql_print_warning("'%s' is deprecated. It does nothing and exists only "
sql_print_warning("'%s' is deprecated. It does nothing and exists only "
...
...
debian/patches/hppa-enoempty.patch
deleted
100644 → 0
View file @
d91f6c77
Description: Debian bug#837369 - test failures on hppa
ENOTEMPTY is 247 on hppa, not 39 like on Linux, according to this report:
.
So add another replacement for this to rpl.rpl_drop_db and
binlog.binlog_databasae tests (there were already a couple similar
replacements for other platforms).
Author: Kristian Nielsen <knielsen at knielsen-hq.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/mysql-test/extra/binlog_tests/database.test
+++ b/mysql-test/extra/binlog_tests/database.test
@@ -52,7 +52,7 @@
eval SELECT 'hello' INTO OUTFILE 'fake_f
# Use '/' instead of '\' in the error message. On windows platform, dir is
# formed with '\'.
---replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /93/39/ /17/39/ /File exists/Directory not empty/
+--replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /93/39/ /17/39/ /247/39/ /File exists/Directory not empty/
--error 1010
DROP DATABASE testing_1;
let $wait_binlog_event= DROP TABLE IF EXIST;
--- a/mysql-test/suite/rpl/t/rpl_drop_db.test
+++ b/mysql-test/suite/rpl/t/rpl_drop_db.test
@@ -13,7 +13,7 @@
insert into mysqltest1.t1 values (1);
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
create table mysqltest1.t2 (n int);
create table mysqltest1.t3 (n int);
---replace_result \\ / 66 39 93 39 17 39 "File exists" "Directory not empty"
+--replace_result \\ / 66 39 93 39 17 39 247 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
@@ -30,7 +30,7 @@
while ($1)
}
--enable_query_log
---replace_result \\ / 66 39 93 39 17 39 "File exists" "Directory not empty"
+--replace_result \\ / 66 39 93 39 17 39 247 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
debian/patches/mips-connect-unaligned.patch
View file @
adc2cd0d
...
@@ -12,10 +12,8 @@ Description: Handle unaligned buffers in connect's TYPBLK class
...
@@ -12,10 +12,8 @@ Description: Handle unaligned buffers in connect's TYPBLK class
Author: James Cowgill <jcowgill@debian.org>
Author: James Cowgill <jcowgill@debian.org>
---
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: mariadb-10.0-10.0.27/storage/connect/valblk.h
--- a/storage/connect/valblk.h
===================================================================
+++ b/storage/connect/valblk.h
--- mariadb-10.0-10.0.27.orig/storage/connect/valblk.h
+++ mariadb-10.0-10.0.27/storage/connect/valblk.h
@@ -139,6 +139,7 @@
class VALBLK : public BLOCK {
@@ -139,6 +139,7 @@
class VALBLK : public BLOCK {
int Prec; // Precision of float values
int Prec; // Precision of float values
}; // end of class VALBLK
}; // end of class VALBLK
...
@@ -102,10 +100,8 @@ Index: mariadb-10.0-10.0.27/storage/connect/valblk.h
...
@@ -102,10 +100,8 @@ Index: mariadb-10.0-10.0.27/storage/connect/valblk.h
}; // end of class TYPBLK
}; // end of class TYPBLK
/***********************************************************************/
/***********************************************************************/
Index: mariadb-10.0-10.0.27/storage/connect/valblk.cpp
--- a/storage/connect/valblk.cpp
===================================================================
+++ b/storage/connect/valblk.cpp
--- mariadb-10.0-10.0.27.orig/storage/connect/valblk.cpp
+++ mariadb-10.0-10.0.27/storage/connect/valblk.cpp
@@ -265,14 +265,14 @@
bool TYPBLK<TYPE>::Init(PGLOBAL g, bool
@@ -265,14 +265,14 @@
bool TYPBLK<TYPE>::Init(PGLOBAL g, bool
template <class TYPE>
template <class TYPE>
char *TYPBLK<TYPE>::GetCharString(char *p, int n)
char *TYPBLK<TYPE>::GetCharString(char *p, int n)
...
...
debian/patches/mips-errno-enotempty.patch
deleted
100644 → 0
View file @
d91f6c77
Description: Permit 93 as a valid value of the ENOTEMPTY error in the testsuite
On mips, ENOTEMPTY == 93 so permit that value in two test cases by replacing it
with 39.
Author: James Cowgill <jcowgill@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/mysql-test/extra/binlog_tests/database.test
+++ b/mysql-test/extra/binlog_tests/database.test
@@ -52,7 +52,7 @@
eval SELECT 'hello' INTO OUTFILE 'fake_f
# Use '/' instead of '\' in the error message. On windows platform, dir is
# formed with '\'.
---replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /17/39/ /File exists/Directory not empty/
+--replace_regex /\\testing_1\\*/\/testing_1\// /66/39/ /93/39/ /17/39/ /File exists/Directory not empty/
--error 1010
DROP DATABASE testing_1;
let $wait_binlog_event= DROP TABLE IF EXIST;
--- a/mysql-test/suite/rpl/t/rpl_drop_db.test
+++ b/mysql-test/suite/rpl/t/rpl_drop_db.test
@@ -13,7 +13,7 @@
insert into mysqltest1.t1 values (1);
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
create table mysqltest1.t2 (n int);
create table mysqltest1.t3 (n int);
---replace_result \\ / 66 39 17 39 "File exists" "Directory not empty"
+--replace_result \\ / 66 39 93 39 17 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
@@ -30,7 +30,7 @@
while ($1)
}
--enable_query_log
---replace_result \\ / 66 39 17 39 "File exists" "Directory not empty"
+--replace_result \\ / 66 39 93 39 17 39 "File exists" "Directory not empty"
--error 1010
drop database mysqltest1;
use mysqltest1;
debian/patches/mips-machine.patch
View file @
adc2cd0d
...
@@ -12,8 +12,8 @@ Author: James Cowgill <jcowgill@debian.org>
...
@@ -12,8 +12,8 @@ Author: James Cowgill <jcowgill@debian.org>
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/cmake/package_name.cmake
--- a/cmake/package_name.cmake
+++ b/cmake/package_name.cmake
+++ b/cmake/package_name.cmake
@@ -3
0
,6 +3
0
,10 @@
IF(NOT VERSION)
@@ -3
4
,6 +3
4
,10 @@
IF(NOT VERSION)
SET(
64BIT 1
)
SET(
DEFAULT_MACHINE "mips"
)
ENDIF()
ENDIF()
+ IF(NOT 64BIT AND CMAKE_SYSTEM_PROCESSOR MATCHES "^mips64")
+ IF(NOT 64BIT AND CMAKE_SYSTEM_PROCESSOR MATCHES "^mips64")
...
...
debian/patches/mips-unstable-tests.patch
View file @
adc2cd0d
...
@@ -4,7 +4,7 @@ Author: James Cowgill <jcowgill@debian.org>
...
@@ -4,7 +4,7 @@ Author: James Cowgill <jcowgill@debian.org>
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/mysql-test/unstable-tests
--- a/mysql-test/unstable-tests
+++ b/mysql-test/unstable-tests
+++ b/mysql-test/unstable-tests
@@ -
9
8,9 +
9
8,8 @@
connect.jdbc-postgresql : New test, adde
@@ -8
7
,9 +8
7
,8 @@
extra/binlog_tests.database : Modified o
#----------------------------------------------------------------
#----------------------------------------------------------------
federated.federatedx : MDEV-10617 - Wrong checksum, timeouts
federated.federatedx : MDEV-10617 - Wrong checksum, timeouts
...
@@ -16,7 +16,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
...
@@ -16,7 +16,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
#----------------------------------------------------------------
#----------------------------------------------------------------
@@ -1
30
,8 +1
29
,7 @@
mroonga/storage.index_multiple_column_un
@@ -1
18
,8 +1
17
,7 @@
mroonga/storage.index_multiple_column_un
#----------------------------------------------------------------
#----------------------------------------------------------------
...
@@ -26,7 +26,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
...
@@ -26,7 +26,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
multi_source.simple : MDEV-4633 - Wrong slave status output
multi_source.simple : MDEV-4633 - Wrong slave status output
multi_source.status_vars : MDEV-4632 - failed while waiting for Slave_received_heartbeats
multi_source.status_vars : MDEV-4632 - failed while waiting for Slave_received_heartbeats
@@ -1
70
,27 +16
8
,21 @@
roles.set_role-9614
@@ -1
48
,27 +1
4
6,21 @@
plugins.thread_pool_server_audit : MDEV-
#----------------------------------------------------------------
#----------------------------------------------------------------
rpl.last_insert_id : MDEV-10625 - warnings in error log
rpl.last_insert_id : MDEV-10625 - warnings in error log
...
@@ -37,17 +37,17 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
...
@@ -37,17 +37,17 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
rpl.rpl_checksum_cache : MDEV-10626 - Testcase timeout
rpl.rpl_checksum_cache : MDEV-10626 - Testcase timeout
rpl.rpl_circular_for_4_hosts : MDEV-10627 - Testcase timeout
rpl.rpl_circular_for_4_hosts : MDEV-10627 - Testcase timeout
-rpl.rpl_ddl : MDEV-10417 - Fails on Mips
-rpl.rpl_ddl : MDEV-10417 - Fails on Mips
rpl.rpl_drop_db : Modified on 2016-10-21 (Upstream MIPS test fixes)
rpl.rpl_gtid_crash : MDEV-9501 - Warning: failed registering on master
rpl.rpl_gtid_crash : MDEV-9501 - Warning: failed registering on master
rpl.rpl_gtid_master_promote : MDEV-10628 - Timeout in sync_with_master
rpl.rpl_gtid_master_promote : MDEV-10628 - Timeout in sync_with_master
rpl.rpl_gtid_stop_start : MDEV-10629 - Crash on shutdown
rpl.rpl_gtid_stop_start : MDEV-10629 - Crash on shutdown
rpl.rpl_gtid_until : MDEV-10625 - warnings in error log
rpl.rpl_gtid_until : MDEV-10625 - warnings in error log
rpl.rpl_ignore_table : Modified on 2016-06-22
-rpl.rpl_innodb_bug30888 : MDEV-10417 - Fails on Mips
-rpl.rpl_innodb_bug30888 : MDEV-10417 - Fails on Mips
rpl.rpl_insert : MDEV-9329 - Fails on Ubuntu/s390x
rpl.rpl_insert : MDEV-9329 - Fails on Ubuntu/s390x
rpl.rpl_insert_delayed : MDEV-9329 - Fails on Ubuntu/s390x
rpl.rpl_insert_delayed : MDEV-9329 - Fails on Ubuntu/s390x
-rpl.rpl_invoked_features : MDEV-10417 - Fails on Mips
-rpl.rpl_invoked_features : MDEV-10417 - Fails on Mips
-rpl.rpl_mdev6020 : MDEV-10630, MDEV-10417 - Timeouts, fails on Mips
-rpl.rpl_mdev6020 : MDEV-10630, MDEV-10417 - Timeouts, fails on Mips
+rpl.rpl_mdev6020 : MDEV-10630 - Timeouts
+rpl.rpl_mdev6020 : MDEV-10630
, MDEV-10417
- Timeouts
rpl.rpl_mdev6386 : MDEV-10631 - Wrong result on slave
rpl.rpl_mdev6386 : MDEV-10631 - Wrong result on slave
rpl.rpl_parallel : MDEV-10632, MDEV-10653 - Failures to sync, timeouts
rpl.rpl_parallel : MDEV-10632, MDEV-10653 - Failures to sync, timeouts
rpl.rpl_parallel_temptable : MDEV-10356 - Crash in close_thread_tables
rpl.rpl_parallel_temptable : MDEV-10356 - Crash in close_thread_tables
...
...
debian/patches/mips64-taocrypt-integer.patch
deleted
100644 → 0
View file @
d91f6c77
Description: Correctly fix mips64 multiplication in taocrypt
In Debian bugs #719196 and #798126, a patch was submitted to fix a FTBFS on
mips64el of mysql-5.5 and mysql-5.6 respectively. This patch was accepted
upstream and made its way into mariadb (MDEV-6528). Unfortunately the patch
was incorrect and causes segfaults when executing the SSL parts of the
testsuite.
.
The previous patch replaced the "h" asm constraint with the "d" constraint
since the "h" is not supported in newer GCC versions. The "d" constraint was
wrong as it tells GCC that the result can be found in _any_ general purpose
register that it chooses. This resulted in GCC reading garbage into the high
result bits.
.
This new patch replaces the assembly code with a generic 128-bit
multiplication which works correctly on mips64.
Author: James Cowgill <jcowgill@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/extra/yassl/taocrypt/src/integer.cpp
+++ b/extra/yassl/taocrypt/src/integer.cpp
@@ -193,8 +193,9 @@
DWord() {}
"a" (a), "rm" (b) : "cc");
#elif defined(__mips64)
- __asm__("dmultu %2,%3" : "=d" (r.halfs_.high), "=l" (r.halfs_.low)
- : "r" (a), "r" (b));
+ unsigned __int128 t = (unsigned __int128) a * b;
+ r.halfs_.high = t >> 64;
+ r.halfs_.low = (word) t;
#elif defined(_M_IX86)
// for testing
debian/patches/scripts__mysqld_safe.sh__signals.patch
View file @
adc2cd0d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
;;
;;
*)
*)
echo "Internal program error (non-fatal):" \
echo "Internal program error (non-fatal):" \
@@ -8
19
,6 +8
18
,13 @@
then
@@ -8
23
,6 +8
22
,13 @@
then
fi
fi
#
#
...
...
debian/patches/series
View file @
adc2cd0d
...
@@ -16,11 +16,7 @@ mdev-8375-built-in-auth-socket.patch
...
@@ -16,11 +16,7 @@ mdev-8375-built-in-auth-socket.patch
mdev-8375-passwordless-accounts-for-testsuite.patch
mdev-8375-passwordless-accounts-for-testsuite.patch
mdev-9528-mysql_embedded.patch
mdev-9528-mysql_embedded.patch
man_page_tokuftdump.patch
man_page_tokuftdump.patch
mips-errno-enotempty.patch
mips64-taocrypt-integer.patch
mips-groonga-atomic.patch
mips-groonga-atomic.patch
mips-connect-unaligned.patch
mips-connect-unaligned.patch
mips-machine.patch
mips-machine.patch
mips-unstable-tests.patch
mips-unstable-tests.patch
hppa-enoempty.patch
tokudb_jemalloc_link.patch
debian/patches/tokudb_jemalloc_link.patch
deleted
100644 → 0
View file @
d91f6c77
Description: Do not link lib-jemalloc privately with TokuDB
Linking privately with lib-jemalloc causes problems when loading/unloading
tokudb, as lib-jemalloc sets some internal variables in thread local storage.
If tokudb gets unloaded, we lose the destructors to these variables and
subsequently crash.
.
Remove this once upstream has released an official fix.
Author: Vicențiu Ciorbaru <vicentiu@mariadb.org>
diff --git a/storage/tokudb/PerconaFT/portability/CMakeLists.txt b/storage/tokudb/PerconaFT/portability/CMakeLists.txt
index 9f84d9b..4793db6 100644
--- a/storage/tokudb/PerconaFT/portability/CMakeLists.txt
+++ b/storage/tokudb/PerconaFT/portability/CMakeLists.txt
@@ -14,12 +14,11 @@
set(tokuportability_srcs
)
add_library(${LIBTOKUPORTABILITY} SHARED ${tokuportability_srcs})
-target_link_libraries(${LIBTOKUPORTABILITY} LINK_PRIVATE ${LIBJEMALLOC})
target_link_libraries(${LIBTOKUPORTABILITY} LINK_PUBLIC ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_SYSTEM_LIBS})
add_library(tokuportability_static_conv STATIC ${tokuportability_srcs})
set_target_properties(tokuportability_static_conv PROPERTIES POSITION_INDEPENDENT_CODE ON)
-set(tokuportability_source_libs tokuportability_static_conv ${LIBJEMALLOC} ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_SYSTEM_LIBS})
+set(tokuportability_source_libs tokuportability_static_conv ${CMAKE_THREAD_LIBS_INIT} ${EXTRA_SYSTEM_LIBS})
toku_merge_static_libs(${LIBTOKUPORTABILITY}_static ${LIBTOKUPORTABILITY}_static "${tokuportability_source_libs}")
maybe_add_gcov_to_libraries(${LIBTOKUPORTABILITY} tokuportability_static_conv)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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