summaryrefslogtreecommitdiff
path: root/storage/maria/ma_test1.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_test1.c')
-rw-r--r--storage/maria/ma_test1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/maria/ma_test1.c b/storage/maria/ma_test1.c
index 471db7937f0..bbaf4b187fd 100644
--- a/storage/maria/ma_test1.c
+++ b/storage/maria/ma_test1.c
@@ -89,6 +89,8 @@ int main(int argc,char *argv[])
fprintf(stderr, "Error in initialization\n");
exit(1);
}
+ if (opt_versioning)
+ init_thr_lock();
exit(run_test("test1"));
}