1
1
/* ****************************************************************************
2
2
3
- Copyright (c) 2008, 2011 , Oracle and/or its affiliates. All Rights Reserved.
3
+ Copyright (c) 2008, 2012 , Oracle and/or its affiliates. All Rights Reserved.
4
4
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
@@ -20,9 +20,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
20
20
@file api/api0api.cc
21
21
InnoDB Native API
22
22
23
- 2008 Created by Sunny Bains
24
23
3/20/2011 Jimmy Yang extracted from Embedded InnoDB
25
- Created by Sunny Bains */
24
+ ****************************************************** */
26
25
27
26
#include < stdio.h>
28
27
#include < stdlib.h>
@@ -55,11 +54,6 @@ Created by Sunny Bains */
55
54
#include " ha_prototypes.h"
56
55
#include " trx0roll.h"
57
56
58
- /* This must hold. */
59
- #if IB_TRUE != TRUE || IB_FALSE != FALSE
60
- #error IB_TRUE != TRUE or IB_FALSE != FALSE
61
- #endif
62
-
63
57
/* * configure variable for binlog option with InnoDB APIs */
64
58
my_bool ib_binlog_enabled = FALSE ;
65
59
@@ -75,7 +69,7 @@ ulong ib_trx_level_setting = IB_TRX_READ_UNCOMMITTED;
75
69
/* * InnoDB tuple types. */
76
70
enum ib_tuple_type_t {
77
71
TPL_TYPE_ROW, /* !< Data row tuple */
78
- TPL_TYPE_KEY /* !< Index key tuple */
72
+ TPL_TYPE_KEY /* !< Index key tuple */
79
73
};
80
74
81
75
/* * Query types supported. */
@@ -584,6 +578,7 @@ ib_trx_start(
584
578
585
579
/* ****************************************************************/ /* *
586
580
Begin a transaction. This will allocate a new transaction handle.
581
+ put the transaction in the active state.
587
582
@return innobase txn handle */
588
583
UNIV_INTERN
589
584
ib_trx_t
@@ -2221,7 +2216,7 @@ UNIV_INLINE
2221
2216
ib_err_t
2222
2217
ib_col_is_capped (
2223
2218
/* ==============*/
2224
- const dtype_t * dtype) /* in: column type */
2219
+ const dtype_t * dtype) /* !< in: column type */
2225
2220
{
2226
2221
return (static_cast <ib_err_t >(
2227
2222
(dtype_get_mtype (dtype) == DATA_VARCHAR
0 commit comments