~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Jay Pipes
  • Date: 2009-03-13 23:35:46 UTC
  • mto: This revision was merged to the branch mainline in revision 937.
  • Revision ID: jpipes@serialcoder-20090313233546-n12t6xpf71um75fo
Split index hints out into their own file, removal from sql_lex.h and sql_select.cc

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
 
/**************************************************//**
20
 
@file include/handler0alter.h
 
1
/******************************************************
21
2
Smart ALTER TABLE
 
3
 
 
4
(c) 2005-2007 Innobase Oy
22
5
*******************************************************/
23
6
 
24
 
/*************************************************************//**
25
 
Copies an InnoDB record to table->getInsertRecord(). */
 
7
/*****************************************************************
 
8
Copies an InnoDB record to table->record[0]. */
26
9
UNIV_INTERN
27
10
void
28
11
innobase_rec_to_mysql(
29
12
/*==================*/
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(
 
13
        TABLE*                  table,          /* in/out: MySQL table */
 
14
        const rec_t*            rec,            /* in: record */
 
15
        const dict_index_t*     index,          /* in: index */
 
16
        const ulint*            offsets);       /* in: rec_get_offsets(
34
17
                                                rec, index, ...) */
35
18
 
36
 
/*************************************************************//**
37
 
Resets table->getInsertRecord(). */
 
19
/*****************************************************************
 
20
Resets table->record[0]. */
38
21
UNIV_INTERN
39
22
void
40
23
innobase_rec_reset(
41
24
/*===============*/
42
 
        TABLE*          table);         /*!< in/out: MySQL table */
 
25
        TABLE*                  table);         /* in/out: MySQL table */