InnoDB Plugin  1.0
row0import.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3 Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
4 
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free Software
7 Foundation; version 2 of the License.
8 
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16 
17 *****************************************************************************/
18 
19 /**************************************************/
26 #ifndef row0import_h
27 #define row0import_h
28 
29 #include "univ.i"
30 #include "db0err.h"
31 #include "dict0types.h"
32 
33 // Forward declarations
34 struct trx_t;
35 struct dict_table_t;
36 struct row_prebuilt_t;
37 
38 /*****************************************************************/
42 UNIV_INTERN
43 dberr_t
45 /*=================*/
47  row_prebuilt_t* prebuilt)
49  __attribute__((nonnull, warn_unused_result));
50 
51 /*****************************************************************/
54 UNIV_INTERN
55 dberr_t
57 /*=============================*/
58  trx_t* trx,
60  table_id_t table_id,
62  bool discarded,
64  bool dict_locked)
67  __attribute__((nonnull, warn_unused_result));
68 
69 /*****************************************************************/
73 UNIV_INTERN
74 dberr_t
76 /*=========================*/
77  trx_t* trx,
79  const dict_table_t* table,
81  bool reset,
83  bool dict_locked)
86  __attribute__((nonnull, warn_unused_result));
87 #ifndef UNIV_NONINL
88 #include "row0import.ic"
89 #endif
90 
91 #endif /* row0import_h */