Addresses #1125 Merged nested transactions from temporary merge branch into main.
Current tests fail (not regressions, they fail as of 13461)
* {{{x1.tdbrun}}}
* {{{test_log(2,3,4,5,6,7,8,9,10).recover}}}
* {{{test-recover(1,2,3).tdbrun}}}
* {{{test1324.tdbrun}}}
ULE_DEBUG disabled (defined to 0) Can be re-enabled for test purposes (set to 1).
refs [t:1125]
Merging into the temp branch (tokudb.main_13461+1125)
{{{svn merge --accept=postpone -r 12527:13461 ../tokudb.1125 ./}}}
Merging into main
{{{svn merge --accept=postpone -r13462:13463 ../tokudb.main_13461+1125/ ./}}}
git-svn-id: file:///svn/toku/tokudb@13464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
|
|
|
/* -*- mode: C; c-basic-offset: 4 -*- */
|
2013-04-16 23:59:11 -04:00
|
|
|
#ident "$Id$"
|
2013-04-16 23:59:09 -04:00
|
|
|
#ident "Copyright (c) 2007-2010 Tokutek Inc. All rights reserved."
|
Addresses #1125 Merged nested transactions from temporary merge branch into main.
Current tests fail (not regressions, they fail as of 13461)
* {{{x1.tdbrun}}}
* {{{test_log(2,3,4,5,6,7,8,9,10).recover}}}
* {{{test-recover(1,2,3).tdbrun}}}
* {{{test1324.tdbrun}}}
ULE_DEBUG disabled (defined to 0) Can be re-enabled for test purposes (set to 1).
refs [t:1125]
Merging into the temp branch (tokudb.main_13461+1125)
{{{svn merge --accept=postpone -r 12527:13461 ../tokudb.1125 ./}}}
Merging into main
{{{svn merge --accept=postpone -r13462:13463 ../tokudb.main_13461+1125/ ./}}}
git-svn-id: file:///svn/toku/tokudb@13464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
#include <toku_portability.h>
|
|
|
|
#include "brttypes.h"
|
|
|
|
#include "xids.h"
|
|
|
|
#include "brt_msg.h"
|
|
|
|
|
|
|
|
|
|
|
|
u_int32_t
|
|
|
|
brt_msg_get_keylen(BRT_MSG brt_msg) {
|
|
|
|
u_int32_t rval = brt_msg->u.id.key->size;
|
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|
|
|
|
u_int32_t
|
|
|
|
brt_msg_get_vallen(BRT_MSG brt_msg) {
|
|
|
|
u_int32_t rval = brt_msg->u.id.val->size;
|
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|
|
|
|
XIDS
|
|
|
|
brt_msg_get_xids(BRT_MSG brt_msg) {
|
|
|
|
XIDS rval = brt_msg->xids;
|
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|
|
|
|
void *
|
|
|
|
brt_msg_get_key(BRT_MSG brt_msg) {
|
|
|
|
void * rval = brt_msg->u.id.key->data;
|
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|
|
|
|
void *
|
|
|
|
brt_msg_get_val(BRT_MSG brt_msg) {
|
|
|
|
void * rval = brt_msg->u.id.val->data;
|
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|
2013-04-16 23:58:00 -04:00
|
|
|
enum brt_msg_type
|
Addresses #1125 Merged nested transactions from temporary merge branch into main.
Current tests fail (not regressions, they fail as of 13461)
* {{{x1.tdbrun}}}
* {{{test_log(2,3,4,5,6,7,8,9,10).recover}}}
* {{{test-recover(1,2,3).tdbrun}}}
* {{{test1324.tdbrun}}}
ULE_DEBUG disabled (defined to 0) Can be re-enabled for test purposes (set to 1).
refs [t:1125]
Merging into the temp branch (tokudb.main_13461+1125)
{{{svn merge --accept=postpone -r 12527:13461 ../tokudb.1125 ./}}}
Merging into main
{{{svn merge --accept=postpone -r13462:13463 ../tokudb.main_13461+1125/ ./}}}
git-svn-id: file:///svn/toku/tokudb@13464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
|
|
|
brt_msg_get_type(BRT_MSG brt_msg) {
|
2013-04-16 23:58:00 -04:00
|
|
|
enum brt_msg_type rval = brt_msg->type;
|
Addresses #1125 Merged nested transactions from temporary merge branch into main.
Current tests fail (not regressions, they fail as of 13461)
* {{{x1.tdbrun}}}
* {{{test_log(2,3,4,5,6,7,8,9,10).recover}}}
* {{{test-recover(1,2,3).tdbrun}}}
* {{{test1324.tdbrun}}}
ULE_DEBUG disabled (defined to 0) Can be re-enabled for test purposes (set to 1).
refs [t:1125]
Merging into the temp branch (tokudb.main_13461+1125)
{{{svn merge --accept=postpone -r 12527:13461 ../tokudb.1125 ./}}}
Merging into main
{{{svn merge --accept=postpone -r13462:13463 ../tokudb.main_13461+1125/ ./}}}
git-svn-id: file:///svn/toku/tokudb@13464 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:56 -04:00
|
|
|
return rval;
|
|
|
|
}
|
|
|
|
|