| 1 | /***************************************************************************** |
| 2 | |
| 3 | Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
| 4 | |
| 5 | Portions of this file contain modifications contributed and copyrighted by |
| 6 | Google, Inc. Those modifications are gratefully acknowledged and are described |
| 7 | briefly in the InnoDB documentation. The contributions by Google are |
| 8 | incorporated with their permission, and subject to the conditions contained in |
| 9 | the file COPYING.Google. |
| 10 | |
| 11 | This program is free software; you can redistribute it and/or modify it under |
| 12 | the terms of the GNU General Public License as published by the Free Software |
| 13 | Foundation; version 2 of the License. |
| 14 | |
| 15 | This program is distributed in the hope that it will be useful, but WITHOUT |
| 16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 17 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License along with |
| 20 | this program; if not, write to the Free Software Foundation, Inc., |
| 21 | 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA |
| 22 | |
| 23 | *****************************************************************************/ |
| 24 | |
| 25 | /**************************************************//** |
| 26 | @file include/log0types.h |
| 27 | Log types |
| 28 | |
| 29 | Created 2013-03-15 Sunny Bains |
| 30 | *******************************************************/ |
| 31 | |
| 32 | #ifndef log0types_h |
| 33 | #define log0types_h |
| 34 | |
| 35 | #include "univ.i" |
| 36 | |
| 37 | /* Type used for all log sequence number storage and arithmetics */ |
| 38 | typedef ib_uint64_t lsn_t; |
| 39 | |
| 40 | #define LSN_MAX IB_UINT64_MAX |
| 41 | |
| 42 | #define LSN_PF UINT64PF |
| 43 | |
| 44 | /** The redo log manager */ |
| 45 | struct RedoLog; |
| 46 | |
| 47 | /** The recovery implementation */ |
| 48 | struct redo_recover_t; |
| 49 | |
| 50 | #endif /* log0types_h */ |
| 51 | |