~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************
 
2
 
 
3
Copyright (c) 1996, 2009, 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., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
 
16
 
 
17
*****************************************************************************/
 
18
 
1
19
/******************************************************
2
20
Update of a row
3
21
 
4
 
(c) 1996 Innobase Oy
5
 
 
6
22
Created 12/27/1996 Heikki Tuuri
7
23
*******************************************************/
8
24
 
292
308
                                /* out: query thread to run next or NULL */
293
309
        que_thr_t*      thr);   /* in: query thread */
294
310
/*************************************************************************
295
 
Performs an in-place update for the current clustered index record in
296
 
select. */
297
 
UNIV_INTERN
298
 
void
299
 
row_upd_in_place_in_select(
300
 
/*=======================*/
301
 
        sel_node_t*     sel_node,       /* in: select node */
302
 
        que_thr_t*      thr,            /* in: query thread */
303
 
        mtr_t*          mtr);           /* in: mtr */
304
 
/*************************************************************************
305
311
Parses the log data of system field values. */
306
312
UNIV_INTERN
307
313
byte*
374
380
        ibool           searched_update;
375
381
                                /* TRUE if searched update, FALSE if
376
382
                                positioned */
377
 
        ibool           select_will_do_update;
378
 
                                /* TRUE if a searched update where ordering
379
 
                                fields will not be updated, and the size of
380
 
                                the fields will not change: in this case the
381
 
                                select node will take care of the update */
382
383
        ibool           in_mysql_interface;
383
384
                                /* TRUE if the update node was created
384
385
                                for the MySQL interface */