mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
#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
This commit is contained in:
parent
92244247d3
commit
1bb0bd8abb
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue