~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-01-06 05:17:09 UTC
  • Revision ID: brian@tangent.org-20110106051709-oa0se8ur02uc6i9o
Added native functions into the function table.

Show diffs side-by-side

added added

removed removed

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