~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/handler0alter.h

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************
2
 
 
3
 
Copyright (C) 2005, 2010, Innobase Oy. 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., 51 Franklin
15
 
St, Fifth Floor, Boston, MA 02110-1301 USA
16
 
 
17
 
*****************************************************************************/
18
 
 
19
 
namespace drizzled
20
 
{
21
 
class Table;
22
 
}
23
 
 
24
 
/**************************************************//**
25
 
@file include/handler0alter.h
26
 
Smart ALTER TABLE
27
 
*******************************************************/
28
 
 
29
 
/*************************************************************//**
30
 
Copies an InnoDB record to table->getInsertRecord(). */
31
 
UNIV_INTERN
32
 
void
33
 
innobase_rec_to_mysql(
34
 
/*==================*/
35
 
        ::drizzled::Table*              table,          /*!< in/out: MySQL table */
36
 
        const rec_t*            rec,            /*!< in: record */
37
 
        const dict_index_t*     index,          /*!< in: index */
38
 
        const ulint*            offsets);       /*!< in: rec_get_offsets(
39
 
                                                rec, index, ...) */
40
 
 
41
 
/*************************************************************//**
42
 
Resets table->getInsertRecord(). */
43
 
UNIV_INTERN
44
 
void
45
 
innobase_rec_reset(
46
 
/*===============*/
47
 
        ::drizzled::Table*              table);         /*!< in/out: MySQL table */