2013-04-16 23:57:48 -04:00
# ident "$Id$"
2013-04-16 23:59:09 -04:00
# ident "Copyright (c) 2007-2010 Tokutek Inc. All rights reserved."
2013-04-16 23:57:48 -04:00
# ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11 / 760379 and to the patents and / or patent applications resulting from it."
2008-04-07 01:30:25 +00:00
2013-04-16 23:57:20 -04:00
# include "includes.h"
2008-04-04 18:03:03 +00:00
u_int32_t toku_le_crc ( LEAFENTRY v ) {
2008-07-27 22:16:49 +00:00
return x1764_memory ( v , leafentry_memsize ( v ) ) ;
2008-04-04 18:03:03 +00:00
}
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
2008-04-07 01:30:25 +00:00
void wbuf_LEAFENTRY ( struct wbuf * w , LEAFENTRY le ) {
2008-05-29 03:12:59 +00:00
wbuf_literal_bytes ( w , le , leafentry_disksize ( le ) ) ;
2008-04-07 01:30:25 +00:00
}
2013-04-16 23:59:05 -04:00
void wbuf_nocrc_LEAFENTRY ( struct wbuf * w , LEAFENTRY le ) {
wbuf_nocrc_literal_bytes ( w , le , leafentry_disksize ( le ) ) ;
}