Skip to content

Commit 3dd574b

Browse files
author
Jimmy Yang
committed
Consolidate format changes from wl6086 into mysql-trunk-wl5824
1 parent 98ccb1d commit 3dd574b

File tree

2 files changed

+195
-765
lines changed

2 files changed

+195
-765
lines changed

storage/innobase/api/api0api.cc

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*****************************************************************************
22
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.
44
55
This program is free software; you can redistribute it and/or modify it under
66
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.,
2020
@file api/api0api.cc
2121
InnoDB Native API
2222
23-
2008 Created by Sunny Bains
2423
3/20/2011 Jimmy Yang extracted from Embedded InnoDB
25-
Created by Sunny Bains */
24+
*******************************************************/
2625

2726
#include <stdio.h>
2827
#include <stdlib.h>
@@ -55,11 +54,6 @@ Created by Sunny Bains */
5554
#include "ha_prototypes.h"
5655
#include "trx0roll.h"
5756

58-
/* This must hold. */
59-
#if IB_TRUE != TRUE || IB_FALSE != FALSE
60-
#error IB_TRUE != TRUE or IB_FALSE != FALSE
61-
#endif
62-
6357
/** configure variable for binlog option with InnoDB APIs */
6458
my_bool ib_binlog_enabled = FALSE;
6559

@@ -75,7 +69,7 @@ ulong ib_trx_level_setting = IB_TRX_READ_UNCOMMITTED;
7569
/** InnoDB tuple types. */
7670
enum ib_tuple_type_t{
7771
TPL_TYPE_ROW, /*!< Data row tuple */
78-
TPL_TYPE_KEY /*!< Index key tuple */
72+
TPL_TYPE_KEY /*!< Index key tuple */
7973
};
8074

8175
/** Query types supported. */
@@ -584,6 +578,7 @@ ib_trx_start(
584578

585579
/*****************************************************************//**
586580
Begin a transaction. This will allocate a new transaction handle.
581+
put the transaction in the active state.
587582
@return innobase txn handle */
588583
UNIV_INTERN
589584
ib_trx_t
@@ -2221,7 +2216,7 @@ UNIV_INLINE
22212216
ib_err_t
22222217
ib_col_is_capped(
22232218
/*==============*/
2224-
const dtype_t* dtype) /* in: column type */
2219+
const dtype_t* dtype) /*!< in: column type */
22252220
{
22262221
return(static_cast<ib_err_t>(
22272222
(dtype_get_mtype(dtype) == DATA_VARCHAR

0 commit comments

Comments
 (0)