mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
28cc5d1ed9
{{{ svn merge -r 19523:19895 https://svn.tokutek.com/tokudb/toku/tokudb.2499d }}} . git-svn-id: file:///svn/toku/tokudb@19902 c7de825b-a66e-492c-adef-691d508d4ae1
27 lines
721 B
C
27 lines
721 B
C
/* -*- mode: C; c-basic-offset: 4 -*- */
|
|
#ident "Copyright (c) 2009-2010 Tokutek Inc. All rights reserved."
|
|
|
|
#ifndef TOKUCONST_H
|
|
#define TOKUCONST_H
|
|
/* The number of transaction ids stored in the xids structure is
|
|
* represented by an 8-bit value. The value 255 is reserved.
|
|
* The constant MAX_NESTED_TRANSACTIONS is one less because
|
|
* one slot in the packed leaf entry is used for the implicit
|
|
* root transaction (id 0).
|
|
*/
|
|
|
|
#if defined(__cplusplus) || defined(__cilkplusplus)
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum {MAX_NESTED_TRANSACTIONS = 253};
|
|
enum {MAX_TRANSACTION_RECORDS = MAX_NESTED_TRANSACTIONS + 1};
|
|
|
|
#define DO_IMPLICIT_PROMOTION_ON_QUERY 0
|
|
|
|
#if defined(__cplusplus) || defined(__cilkplusplus)
|
|
};
|
|
#endif
|
|
|
|
#endif
|
|
|