summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-15 10:12:32 +0100
committerSergei Golubchik <sergii@pisem.net>2012-03-15 10:12:32 +0100
commit93cac96aa462418177c8f06504fc4310b63a1868 (patch)
tree1b179289df1a4a644ed7e02becf1c30d8a417ec3 /unittest
parent69cb13602d2d894275e4c8b57d6c8f69f9db2664 (diff)
downloadmariadb-git-93cac96aa462418177c8f06504fc4310b63a1868.tar.gz
more MY_INIT(argv[0]) in unittests
Diffstat (limited to 'unittest')
-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]);