MySQL 9.1.0
Source Code Documentation
row0import.h
Go to the documentation of this file.
1/*****************************************************************************
2
3Copyright (c) 2012, 2024, Oracle and/or its affiliates.
4
5This program is free software; you can redistribute it and/or modify it under
6the terms of the GNU General Public License, version 2.0, as published by the
7Free Software Foundation.
8
9This program is designed to work with certain software (including
10but not limited to OpenSSL) that is licensed under separate terms,
11as designated in a particular file or component or in included license
12documentation. The authors of MySQL hereby grant you an additional
13permission to link the program and your derivative works with the
14separately licensed software that they have either included with
15the program or referenced in the documentation.
16
17This program is distributed in the hope that it will be useful, but WITHOUT
18ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
20for more details.
21
22You should have received a copy of the GNU General Public License along with
23this program; if not, write to the Free Software Foundation, Inc.,
2451 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
26*****************************************************************************/
27
28/** @file include/row0import.h
29 Header file for import tablespace functions.
30
31 Created 2012-02-08 by Sunny Bains
32 *******************************************************/
33
34#ifndef row0import_h
35#define row0import_h
36
37#include "dict0types.h"
38#include "univ.i"
39
40// Forward declarations
41struct trx_t;
42struct dict_table_t;
43struct row_prebuilt_t;
44
45/** Imports a tablespace. The space id in the .ibd file must match the space id
46of the table in the data dictionary.
47@param[in] table table
48@param[in] table_def dd table
49@param[in] prebuilt prebuilt struct in MySQL
50@return error code or DB_SUCCESS */
53 row_prebuilt_t *prebuilt);
54
55#endif /* row0import_h */
Definition: table.h:47
A table definition from the master.
Definition: rpl_utility.h:249
dberr_t
Definition: db0err.h:39
Data dictionary global types.
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
dberr_t row_import_for_mysql(dict_table_t *table, dd::Table *table_def, row_prebuilt_t *prebuilt)
Imports a tablespace.
Definition: row0import.cc:4387
Data structure for a database table.
Definition: dict0mem.h:1904
A struct for (sometimes lazily) prebuilt structures in an Innobase table handle used within MySQL; th...
Definition: row0mysql.h:515
Definition: trx0trx.h:675
Version control for database, common definitions, and include files.