mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
[t:3622] set msn to 0 for nodes in brt-serialize-test.c. might need to actually test the msns in this file later. fixes #3622
git-svn-id: file:///svn/toku/tokudb@32314 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
a6ff823d8e
commit
0967285385
1 changed files with 6 additions and 6 deletions
|
@ -87,7 +87,7 @@ test_serialize_leaf_with_large_pivots(void) {
|
|||
// assert(val_size > BN_MAX_SIZE); // BN_MAX_SIZE isn't visible
|
||||
int fd = open(__FILE__ ".brt", O_RDWR|O_CREAT|O_BINARY, S_IRWXU|S_IRWXG|S_IRWXO); assert(fd >= 0);
|
||||
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
sn.nodesize = 4*(1<<20);
|
||||
sn.flags = 0x11223344;
|
||||
sn.thisnodename.b = 20;
|
||||
|
@ -210,7 +210,7 @@ test_serialize_leaf_with_many_rows(void) {
|
|||
// assert(val_size > BN_MAX_SIZE); // BN_MAX_SIZE isn't visible
|
||||
int fd = open(__FILE__ ".brt", O_RDWR|O_CREAT|O_BINARY, S_IRWXU|S_IRWXG|S_IRWXO); assert(fd >= 0);
|
||||
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
sn.nodesize = 4*(1<<20);
|
||||
sn.flags = 0x11223344;
|
||||
sn.thisnodename.b = 20;
|
||||
|
@ -327,7 +327,7 @@ test_serialize_leaf_with_large_rows(void) {
|
|||
// assert(val_size > BN_MAX_SIZE); // BN_MAX_SIZE isn't visible
|
||||
int fd = open(__FILE__ ".brt", O_RDWR|O_CREAT|O_BINARY, S_IRWXU|S_IRWXG|S_IRWXO); assert(fd >= 0);
|
||||
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
sn.nodesize = 4*(1<<20);
|
||||
sn.flags = 0x11223344;
|
||||
sn.thisnodename.b = 20;
|
||||
|
@ -450,7 +450,7 @@ test_serialize_leaf_with_empty_basement_nodes(void) {
|
|||
|
||||
int r;
|
||||
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
sn.nodesize = nodesize;
|
||||
sn.flags = 0x11223344;
|
||||
sn.thisnodename.b = 20;
|
||||
|
@ -578,7 +578,7 @@ test_serialize_leaf(void) {
|
|||
|
||||
int r;
|
||||
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
sn.nodesize = nodesize;
|
||||
sn.flags = 0x11223344;
|
||||
sn.thisnodename.b = 20;
|
||||
|
@ -705,7 +705,7 @@ test_serialize_nonleaf(void) {
|
|||
int r;
|
||||
|
||||
// source_brt.fd=fd;
|
||||
memset(&sn, 0, sizeof sn);
|
||||
sn.max_msn_applied_to_node.msn = 0;
|
||||
char *hello_string;
|
||||
sn.max_msn_applied_to_node = (MSN) {TESTMSNVAL};
|
||||
sn.nodesize = nodesize;
|
||||
|
|
Loading…
Add table
Reference in a new issue