Commit 1c5f21a5 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#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
parent e5d36e55
......@@ -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 \
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment