mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
ffa8c4cfcc
support ha_innodb.so as a dynamic plugin. * remove obsolete *,innodb_plugin.rdiff files * s/--plugin-load=/--plugin-load-add=/ * MYSQL_PLUGIN_IMPORT glob_hostname[] * use my_error instead of push_warning_printf(ER_DEFAULT) * don't use tdc_size and tc_size in a module update test cases (XtraDB is 5.6.14, InnoDB is 5.6.10) * copy new tests over * disable some tests for (old) InnoDB * delete XtraDB tests that no longer apply small compatibility changes: * s/HTON_EXTENDED_KEYS/HTON_SUPPORTS_EXTENDED_KEYS/ * revert unnecessary InnoDB changes to make it a bit closer to the upstream fix XtraDB to compile on Windows (both as a static and a dynamic plugin) disable XtraDB on Windows (deadlocks) and where no atomic ops are available (e.g. CentOS 5) storage/innobase/handler/ha_innodb.cc: revert few unnecessary changes to make it a bit closer to the original InnoDB storage/innobase/include/univ.i: correct the version to match what it was merged from
54 lines
1.9 KiB
C
54 lines
1.9 KiB
C
/*****************************************************************************
|
|
|
|
Copyright (c) 1997, 2012, Oracle and/or its affiliates. All Rights Reserved.
|
|
Copyright (c) 2010-2012, Percona Inc. All Rights Reserved.
|
|
|
|
This program is free software; you can redistribute it and/or modify it under
|
|
the terms of the GNU General Public License as published by the Free Software
|
|
Foundation; version 2 of the License.
|
|
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along with
|
|
this program; if not, write to the Free Software Foundation, Inc.,
|
|
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
|
|
|
*****************************************************************************/
|
|
|
|
#ifndef read0i_s_h
|
|
#define read0i_s_h
|
|
|
|
#include <trx0types.h>
|
|
|
|
struct i_s_xtradb_read_view_struct {
|
|
undo_no_t undo_no;/*!< 0 or if type is
|
|
VIEW_HIGH_GRANULARITY
|
|
transaction undo_no when this high-granularity
|
|
consistent read view was created */
|
|
trx_id_t low_limit_no;
|
|
/*!< The view does not need to see the undo
|
|
logs for transactions whose transaction number
|
|
is strictly smaller (<) than this value: they
|
|
can be removed in purge if not needed by other
|
|
views */
|
|
trx_id_t low_limit_id;
|
|
/*!< The read should not see any transaction
|
|
with trx id >= this value. In other words,
|
|
this is the "high water mark". */
|
|
trx_id_t up_limit_id;
|
|
/*!< The read should see all trx ids which
|
|
are strictly smaller (<) than this value.
|
|
In other words,
|
|
this is the "low water mark". */
|
|
};
|
|
|
|
typedef struct i_s_xtradb_read_view_struct i_s_xtradb_read_view_t;
|
|
|
|
UNIV_INTERN
|
|
i_s_xtradb_read_view_t*
|
|
read_fill_i_s_xtradb_read_view(i_s_xtradb_read_view_t *rv);
|
|
|
|
|
|
#endif /* read0i_s_h */
|