summaryrefslogtreecommitdiff
path: root/unittest/mysys
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/mysys')
-rw-r--r--unittest/mysys/thr_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/mysys/thr_template.c b/unittest/mysys/thr_template.c
index 5bb9809b1e1..7304eb50955 100644
--- a/unittest/mysys/thr_template.c
+++ b/unittest/mysys/thr_template.c
@@ -54,7 +54,7 @@ void test_concurrently(const char *test, pthread_handler handler, int n, int m)
int main(int argc __attribute__((unused)), char **argv)
{
- MY_INIT("thd_template");
+ MY_INIT(argv[0]);
if (argv[1] && *argv[1])
DBUG_SET_INITIAL(argv[1]);