~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2010-11-03 03:30:27 UTC
  • mto: (1902.1.1 build) (1910.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: stewart@flamingspork.com-20101103033027-lskb6gxwwforfz71
fix docs warning: underline/overline too short for replace.rst

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1996, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 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
30
30
#include "data0data.h"
31
31
#include "dict0types.h"
32
32
#include "trx0trx.h"
33
 
#include "trx0roll.h"
34
33
#include "srv0srv.h"
35
34
#include "usr0types.h"
36
35
#include "que0types.h"
216
215
thr_get_trx(
217
216
/*========*/
218
217
        que_thr_t*      thr);   /*!< in: query thread */
219
 
/*******************************************************************//**
220
 
Determines if this thread is rolling back an incomplete transaction
221
 
in crash recovery.
222
 
@return TRUE if thr is rolling back an incomplete transaction in crash
223
 
recovery */
224
 
UNIV_INLINE
225
 
ibool
226
 
thr_is_recv(
227
 
/*========*/
228
 
        const que_thr_t*        thr);   /*!< in: query thread */
229
218
/***********************************************************************//**
230
219
Gets the type of a graph node. */
231
220
UNIV_INLINE
381
370
                                        thus far */
382
371
        ulint           lock_state;     /*!< lock state of thread (table or
383
372
                                        row) */
384
 
        ulint           fk_cascade_depth; /*!< maximum cascading call depth
385
 
                                        supported for foreign key constraint
386
 
                                        related delete/updates */
387
373
};
388
374
 
389
375
#define QUE_THR_MAGIC_N         8476583
424
410
        ibool           cur_on_row;     /*!< TRUE if cursor is on a row, i.e.,
425
411
                                        it is not before the first row or
426
412
                                        after the last row */
 
413
        dulint          n_inserts;      /*!< number of rows inserted */
 
414
        dulint          n_updates;      /*!< number of rows updated */
 
415
        dulint          n_deletes;      /*!< number of rows deleted */
427
416
        sel_node_t*     last_sel_node;  /*!< last executed select node, or NULL
428
417
                                        if none */
429
418
        UT_LIST_NODE_T(que_fork_t)