aboutsummaryrefslogtreecommitdiffstats
path: root/main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-02-23 14:15:32 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-26 12:57:47 +0000
commit3b3d1e3949427315f835802daac4b56e2978f0e6 (patch)
tree0d03dd77a8b580dcd21099de79033332ab087e56 /main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch
parentbad64dae78aa5835bf1db99744d4dbf6a5d7991d (diff)
downloadaports-3b3d1e3949427315f835802daac4b56e2978f0e6.tar.bz2
aports-3b3d1e3949427315f835802daac4b56e2978f0e6.tar.xz
main/mariadb: security upgrade to 10.3.13
Diffstat (limited to 'main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch')
-rw-r--r--main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch b/main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch
deleted file mode 100644
index d45bfa6f93..0000000000
--- a/main/mariadb/0001-MDEV-18269-fix-off-by-one-bug-in-unittest.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From ac84787559f95f717cecb444bab6c4c5f7293f3e Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Wed, 16 Jan 2019 14:28:37 +0000
-Subject: [PATCH] MDEV-18269 - fix off-by-one bug in unittest
-
-Fix the off-by-one overflow which was introduced with commit
-b0fd06a6f2721 (MDEV-15670 - unit.my_atomic failed in buildbot with
-Signal 11 thrown)
----
- unittest/mysys/thr_template.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/unittest/mysys/thr_template.c b/unittest/mysys/thr_template.c
-index 3a57ed091e9..3606a253ae4 100644
---- a/unittest/mysys/thr_template.c
-+++ b/unittest/mysys/thr_template.c
-@@ -34,7 +34,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m)
- bad= 0;
-
- diag("Testing %s with %d threads, %d iterations... ", test, n, m);
-- for (i= n; i; i--)
-+ for (i= 0; i < n; i++)
- {
- if (pthread_create(&threads[i], 0, handler, &m) != 0)
- {
-@@ -43,7 +43,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m)
- }
- }
-
-- for (i= n; i; i--)
-+ for (i= 0; i < n; i++)
- pthread_join(threads[i], 0);
-
- now= my_interval_timer() - now;
---
-2.20.1
-