~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Eric Day
  • Date: 2009-03-24 04:59:05 UTC
  • mfrom: (962 drizzle)
  • mto: (968.1.1 lib-merge)
  • mto: This revision was merged to the branch mainline in revision 969.
  • Revision ID: eday@oddments.org-20090324045905-2ptqhz3ves0aa5ed
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************
 
2
 
 
3
Copyright (c) 1997, 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
Select
3
21
 
4
 
(c) 1997 Innobase Oy
5
 
 
6
22
Created 12/19/1997 Heikki Tuuri
7
23
*******************************************************/
8
24
 
280
296
        ibool           set_x_locks;    /* TRUE if the cursor is for update or
281
297
                                        delete, which means that a row x-lock
282
298
                                        should be placed on the cursor row */
283
 
        ibool           select_will_do_update;
284
 
                                        /* TRUE if the select is for a searched
285
 
                                        update which can be performed in-place:
286
 
                                        in this case the select will take care
287
 
                                        of the update */
288
 
        ulint           latch_mode;     /* BTR_SEARCH_LEAF, or BTR_MODIFY_LEAF
289
 
                                        if select_will_do_update is TRUE */
290
299
        ulint           row_lock_mode;  /* LOCK_X or LOCK_S */
291
300
        ulint           n_tables;       /* number of tables */
292
301
        ulint           fetch_table;    /* number of the next table to access