mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
110754f57c
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
37 lines
835 B
C
37 lines
835 B
C
/* -*- mode: C; c-basic-offset: 4 -*- */
|
|
|
|
#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
|
|
|
|
|
|
/* The purpose of this file is to provide access to the fifo_msg,
|
|
* which is the stored representation of the brt_msg.
|
|
*
|
|
* NOTE: Accessor functions return all values in host byte order.
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef FIFO_MSG_H
|
|
#define FIFO_MSG_H
|
|
|
|
u_int32_t fifo_msg_get_keylen(FIFO_MSG fifo_msg);
|
|
|
|
u_int32_t fifo_msg_get_vallen(FIFO_MSG fifo_msg);
|
|
|
|
XIDS fifo_msg_get_xids(FIFO_MSG fifo_msg);
|
|
|
|
void * fifo_msg_get_key(FIFO_MSG fifo_msg);
|
|
|
|
void * fifo_msg_get_val(FIFO_MSG fifo_msg);
|
|
|
|
brt_msg_type fifo_msg_get_type(FIFO_MSG fifo_msg);
|
|
|
|
u_int32_t fifo_msg_get_size(FIFO_MSG fifo_msg);
|
|
|
|
// Return number of bytes required for a fifo_msg created from
|
|
// the given brt_msg
|
|
u_int32_t fifo_msg_get_size_required(BRT_MSG brt_msg);
|
|
|
|
#endif
|
|
|