mariadb/row
marko ab67f4eb4a branches/zip: Refuse to use newly created indexes that may lack
history.  This addresses Mantis issue #116.

dict_index_t: Enable the storage of trx_id.

row_prebuilt_t: Make many fields bit-fields to reduce the memory
footprint. Add index_usable.

ha_innobase::change_active_index(): Check if the index is usable and
set prebuilt->index_usable accordingly. Unfortunately, the return
status of this function is ignored by MySQL, and the actual refusal to
use the index must be made in row_search_for_mysql().

row_search_for_mysql(): Return DB_MISSING_HISTORY if
!prebuilt->index_usable.

convert_error_code_to_mysql(): Map DB_MISSING_HISTORY to
HA_ERR_TABLE_DEF_CHANGED.

innodb-index.test: Add a test case where access to a newly created
secondary index must be blocked for old transactions.

rb://100 approved by Heikki Tuuri
2009-04-02 12:23:12 +00:00
..
row0ext.c branches/zip: 2009-02-17 10:05:45 +00:00
row0ins.c branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
row0merge.c branches/zip: Refuse to use newly created indexes that may lack 2009-04-02 12:23:12 +00:00
row0mysql.c branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
row0purge.c branches/zip: 2009-02-17 10:05:45 +00:00
row0row.c branches/zip: Remove references to UNIV_HOTBACKUP from files that are 2009-03-24 12:02:29 +00:00
row0sel.c branches/zip: Refuse to use newly created indexes that may lack 2009-04-02 12:23:12 +00:00
row0uins.c branches/zip: 2009-02-17 10:05:45 +00:00
row0umod.c branches/zip: 2009-02-17 10:05:45 +00:00
row0undo.c branches/zip: 2009-02-17 10:09:16 +00:00
row0upd.c branches/zip: Remove unneeded definitions and dependencies 2009-03-23 14:21:34 +00:00
row0vers.c branches/zip: 2009-02-17 10:09:16 +00:00