~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-12-17 00:08:06 UTC
  • mfrom: (2002.1.4 clean)
  • Revision ID: brian@tangent.org-20101217000806-fa6kmggjnhsl4q85
Rollup for field encapsulation, monty fix for bzrignore, and Andrew bug
fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1994, 2010, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1994, 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
243
243
        que_thr_t*      thr,    /*!< in: query thread or NULL */
244
244
        mtr_t*          mtr);   /*!< in: mtr */
245
245
/*************************************************************//**
246
 
See if there is enough place in the page modification log to log
247
 
an update-in-place.
248
 
@return TRUE if enough place */
249
 
UNIV_INTERN
250
 
ibool
251
 
btr_cur_update_alloc_zip(
252
 
/*=====================*/
253
 
        page_zip_des_t* page_zip,/*!< in/out: compressed page */
254
 
        buf_block_t*    block,  /*!< in/out: buffer page */
255
 
        dict_index_t*   index,  /*!< in: the index corresponding to the block */
256
 
        ulint           length, /*!< in: size needed */
257
 
        ibool           create, /*!< in: TRUE=delete-and-insert,
258
 
                                FALSE=update-in-place */
259
 
        mtr_t*          mtr)    /*!< in: mini-transaction */
260
 
        UNIV_WARN_UNUSED_RESULT_NONNULL;
261
 
/*************************************************************//**
262
246
Updates a record when the update causes no size changes in its fields.
263
247
@return DB_SUCCESS or error number */
264
248
UNIV_INTERN
508
492
them in rec.  The extern flags in rec will have to be set beforehand.
509
493
The fields are stored on pages allocated from leaf node
510
494
file segment of the index tree.
511
 
@return DB_SUCCESS or DB_OUT_OF_FILE_SPACE */
 
495
@return DB_SUCCESS or error */
512
496
UNIV_INTERN
513
497
ulint
514
498
btr_store_big_rec_extern_fields(