1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00
Files
mariadb/mysql-test
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
..
2009-03-18 09:53:53 +00:00
2005-10-27 07:29:40 +00:00
2008-12-09 09:49:03 +00:00
2008-04-23 05:45:19 +00:00
2008-10-30 10:17:23 +00:00
2008-10-30 10:17:23 +00:00
2007-11-21 12:01:36 +00:00
2008-09-15 10:40:44 +00:00
2008-09-15 10:40:44 +00:00
2007-11-21 11:23:05 +00:00
2007-11-21 11:23:05 +00:00
2007-11-21 10:47:08 +00:00
2005-10-27 07:29:40 +00:00
2009-02-25 19:33:32 +00:00
2009-02-25 19:33:32 +00:00
2008-10-21 08:49:27 +00:00