From 1bb0bd8abba0a92797e1a5f3acc290b5b2070d90 Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Tue, 16 Apr 2013 23:59:39 -0400 Subject: [PATCH] #3462 fix the test case that crashes the loader closes[t:3462] git-svn-id: file:///svn/toku/tokudb@30310 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/Makefile | 1 + src/tests/loader-blobs-create-leaf.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/tests/Makefile b/src/tests/Makefile index 7ea2de4088c..ccb1261d7a9 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -126,6 +126,7 @@ BDB_DONTRUN_TESTS = \ keyrange-dupsort \ keyrange-dupsort-unflat \ keyrange-unflat \ + loader-blobs-create-leaf \ loader-cleanup-test \ loader-create-abort \ loader-create-close \ diff --git a/src/tests/loader-blobs-create-leaf.c b/src/tests/loader-blobs-create-leaf.c index 4ee6d3a2eaa..1c07f31299c 100644 --- a/src/tests/loader-blobs-create-leaf.c +++ b/src/tests/loader-blobs-create-leaf.c @@ -26,6 +26,7 @@ static void insert(DB_LOADER *loader, int k, int val_size) { // generate the key char key_buffer[8]; + memset(key_buffer, 0, sizeof key_buffer); int newa = htonl(k); memcpy(key_buffer, &newa, sizeof newa);