summaryrefslogtreecommitdiff
path: root/storage/maria/ma_test2.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_test2.c')
-rw-r--r--storage/maria/ma_test2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/maria/ma_test2.c b/storage/maria/ma_test2.c
index d3b5cca70c5..08d3ae486cf 100644
--- a/storage/maria/ma_test2.c
+++ b/storage/maria/ma_test2.c
@@ -96,6 +96,8 @@ int main(int argc, char *argv[])
fprintf(stderr, "Error in initialization");
exit(1);
}
+ if (opt_versioning)
+ init_thr_lock();
reclength=STANDARD_LENGTH+60+(use_blob ? 8 : 0);
blob_pos=STANDARD_LENGTH+60;