~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

merged with up to date trunk

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
/*************************************************************//**
246
262
Updates a record when the update causes no size changes in its fields.
247
263
@return DB_SUCCESS or error number */
248
264
UNIV_INTERN
492
508
them in rec.  The extern flags in rec will have to be set beforehand.
493
509
The fields are stored on pages allocated from leaf node
494
510
file segment of the index tree.
495
 
@return DB_SUCCESS or error */
 
511
@return DB_SUCCESS or DB_OUT_OF_FILE_SPACE */
496
512
UNIV_INTERN
497
513
ulint
498
514
btr_store_big_rec_extern_fields(