mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
c7fa6070ef
Added option to easily toggle implicit promotion on query Disabled for now because of tickets [t:1903] [t:1906] git-svn-id: file:///svn/toku/tokudb@13679 c7de825b-a66e-492c-adef-691d508d4ae1
18 lines
579 B
C
18 lines
579 B
C
/* -*- mode: C; c-basic-offset: 4 -*- */
|
|
#ident "Copyright (c) 2009 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).
|
|
*/
|
|
enum {MAX_NESTED_TRANSACTIONS = 253};
|
|
enum {MAX_TRANSACTION_RECORDS = MAX_NESTED_TRANSACTIONS + 1};
|
|
|
|
#define DO_IMPLICIT_PROMOTION_ON_QUERY 0
|
|
|
|
#endif
|
|
|