summaryrefslogtreecommitdiffstats
path: root/storage/maria/unittest
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/unittest')
-rw-r--r--storage/maria/unittest/ma_pagecache_consist.c4
-rw-r--r--storage/maria/unittest/ma_pagecache_rwconsist.c4
-rw-r--r--storage/maria/unittest/ma_pagecache_rwconsist2.c4
-rw-r--r--storage/maria/unittest/ma_pagecache_single.c4
-rw-r--r--storage/maria/unittest/ma_test_loghandler_multithread-t.c4
5 files changed, 0 insertions, 20 deletions
diff --git a/storage/maria/unittest/ma_pagecache_consist.c b/storage/maria/unittest/ma_pagecache_consist.c
index ff4a2bcb..938e5b10 100644
--- a/storage/maria/unittest/ma_pagecache_consist.c
+++ b/storage/maria/unittest/ma_pagecache_consist.c
@@ -403,10 +403,6 @@ int main(int argc __attribute__((unused)),
exit(1);
}
-#ifdef HAVE_THR_SETCONCURRENCY
- thr_setconcurrency(2);
-#endif
-
if ((pagen= init_pagecache(&pagecache, PCACHE_SIZE, 0, 0,
TEST_PAGE_SIZE, 0, 0)) == 0)
{
diff --git a/storage/maria/unittest/ma_pagecache_rwconsist.c b/storage/maria/unittest/ma_pagecache_rwconsist.c
index 24c30245..e059ac45 100644
--- a/storage/maria/unittest/ma_pagecache_rwconsist.c
+++ b/storage/maria/unittest/ma_pagecache_rwconsist.c
@@ -272,10 +272,6 @@ int main(int argc __attribute__((unused)),
exit(1);
}
-#ifdef HAVE_THR_SETCONCURRENCY
- thr_setconcurrency(2);
-#endif
-
if ((pagen= init_pagecache(&pagecache, PCACHE_SIZE, 0, 0,
TEST_PAGE_SIZE, 0, 0)) == 0)
{
diff --git a/storage/maria/unittest/ma_pagecache_rwconsist2.c b/storage/maria/unittest/ma_pagecache_rwconsist2.c
index c92bec3c..28d3bb8d 100644
--- a/storage/maria/unittest/ma_pagecache_rwconsist2.c
+++ b/storage/maria/unittest/ma_pagecache_rwconsist2.c
@@ -268,10 +268,6 @@ int main(int argc __attribute__((unused)),
exit(1);
}
-#ifdef HAVE_THR_SETCONCURRENCY
- thr_setconcurrency(2);
-#endif
-
if ((pagen= init_pagecache(&pagecache, PCACHE_SIZE, 0, 0,
TEST_PAGE_SIZE, 0, 0)) == 0)
{
diff --git a/storage/maria/unittest/ma_pagecache_single.c b/storage/maria/unittest/ma_pagecache_single.c
index de2ecaec..9009e59c 100644
--- a/storage/maria/unittest/ma_pagecache_single.c
+++ b/storage/maria/unittest/ma_pagecache_single.c
@@ -795,10 +795,6 @@ int main(int argc __attribute__((unused)),
exit(1);
}
-#ifdef HAVE_THR_SETCONCURRENCY
- thr_setconcurrency(2);
-#endif
-
if ((pagen= init_pagecache(&pagecache, PCACHE_SIZE, 0, 0,
TEST_PAGE_SIZE, 0, MYF(MY_WME))) == 0)
{
diff --git a/storage/maria/unittest/ma_test_loghandler_multithread-t.c b/storage/maria/unittest/ma_test_loghandler_multithread-t.c
index ec097ede..be6046ab 100644
--- a/storage/maria/unittest/ma_test_loghandler_multithread-t.c
+++ b/storage/maria/unittest/ma_test_loghandler_multithread-t.c
@@ -331,10 +331,6 @@ int main(int argc __attribute__((unused)),
exit(1);
}
-#ifdef HAVE_THR_SETCONCURRENCY
- thr_setconcurrency(2);
-#endif
-
if (ma_control_file_open(TRUE, TRUE, TRUE))
{
fprintf(stderr, "Can't init control file (%d)\n", errno);