diff options
author | unknown <serg@janus.mylan> | 2006-08-23 17:27:21 +0200 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2006-08-23 17:27:21 +0200 |
commit | d83bc171b6775281d556604b47d6d13a8bf5cecf (patch) | |
tree | 739b6196605994b6c0bd67f2dfb66dfe2a2f4b6f /unittest | |
parent | cd40855e9d8ee3a70f53aa061a9e303eec38a52d (diff) | |
download | mariadb-git-d83bc171b6775281d556604b47d6d13a8bf5cecf.tar.gz |
renamed global variables
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/maria/trxman-t.c | 3 |
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); |