~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2009-03-20 04:49:49 UTC
  • mto: (950.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 958.
  • Revision ID: mordred@inaugust.com-20090320044949-nfx7ygyy89ojl6v5
RemovedĀ unusedĀ code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 2005, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 2005, 2009, Innobase Oy. 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
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
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
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
19
 
/**************************************************//**
20
 
@file include/handler0alter.h
 
19
/******************************************************
21
20
Smart ALTER TABLE
22
21
*******************************************************/
23
22
 
24
 
/*************************************************************//**
25
 
Copies an InnoDB record to table->getInsertRecord(). */
 
23
/*****************************************************************
 
24
Copies an InnoDB record to table->record[0]. */
26
25
UNIV_INTERN
27
26
void
28
27
innobase_rec_to_mysql(
29
28
/*==================*/
30
 
        TABLE*          table,          /*!< in/out: MySQL table */
31
 
        const rec_t*            rec,            /*!< in: record */
32
 
        const dict_index_t*     index,          /*!< in: index */
33
 
        const ulint*            offsets);       /*!< in: rec_get_offsets(
 
29
        TABLE*                  table,          /* in/out: MySQL table */
 
30
        const rec_t*            rec,            /* in: record */
 
31
        const dict_index_t*     index,          /* in: index */
 
32
        const ulint*            offsets);       /* in: rec_get_offsets(
34
33
                                                rec, index, ...) */
35
34
 
36
 
/*************************************************************//**
37
 
Resets table->getInsertRecord(). */
 
35
/*****************************************************************
 
36
Resets table->record[0]. */
38
37
UNIV_INTERN
39
38
void
40
39
innobase_rec_reset(
41
40
/*===============*/
42
 
        TABLE*          table);         /*!< in/out: MySQL table */
 
41
        TABLE*                  table);         /* in/out: MySQL table */