summaryrefslogtreecommitdiff
path: root/unittest/maria/trxman-t.c
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/maria/trxman-t.c')
-rw-r--r--unittest/maria/trxman-t.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/unittest/maria/trxman-t.c b/unittest/maria/trxman-t.c
index a29bf5abc8e..7536e5534bf 100644
--- a/unittest/maria/trxman-t.c
+++ b/unittest/maria/trxman-t.c
@@ -106,7 +106,6 @@ void run_test(const char *test, pthread_handler handler, int n, int m)
ok(litmus == 0, "tested %s in %g secs (%d)", test, ((double)now)/1e7, litmus);
}
-int global_malloc=0;
int main()
{
plan(1);
@@ -127,7 +126,7 @@ int main()
trxman_init();
run_test("trxman", test_trxman, THREADS,CYCLES);
trxman_destroy();
- diag("mallocs: %d\n", global_malloc);
+ diag("mallocs: %d\n", trxman_allocated_transactions);
pthread_mutex_destroy(&rt_mutex);
pthread_cond_destroy(&rt_cond);