1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 085c97c19e WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
NDB cluster is not fully supported. This will be added with
WL 1892 (NDB Handler: Add support for CREATE/DROP INDEX).
Some preparatory code for this is already present though.
A change for the "duplicate key" error message is planned
for another changeset.


include/my_base.h:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  Defined a mask of flags which must be the same for two indexes
  if they should compare as compatible.
  Added an error number for a new drop index error message.
mysql-test/r/key.result:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  The test result.
mysql-test/t/key.test:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  The test case.
sql/handler.cc:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  Prepared for a later change in an error message:
  Replace index number by index name for "duplicate key" error.
  Added handling for the new drop index error message.
sql/handler.h:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  Added new flags and methods.
  Removed old flags and methods (from the last attempt).
sql/share/errmsg.txt:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  Added a new error message for drop index.
sql/sql_table.cc:
  WL#1563 - Modify MySQL to support fast CREATE/DROP INDEX
  Moved definitions to the top of the file.
  In mysql_prepare_table() allow an index to have the name
  "PRIMARY" if it has the key type "Key::PRIMARY".
  Added a parenthesis for readability.
  Removed old code from the last attempt.
  Some changes to compare_tables():
  - Input parameter "List<Key> *key_list" is replaced by
    "KEY *key_info_buffer, uint key_count".
  - Output parameters added: "index_drop_buffer/index_drop_count"
    and "index_add_buffer/index_add_count".
  - Key comparison must now find matching keys in changed
    old and new key lists.
  - Key comparison of a key is easier now because both old
    and new keys are of type 'KEY'.
  Call mysql_prepare_table() before compare_tables(). The
  translated KEY structs are needed at some places now.
  Inserted a code segment for checking alter_table_flags().
  Removed mysql_prepare_table() from the 'partition' branches
  (it is done above now).
  Removed a pair of unnecessary braces.
  Inserted a code segment for executing fast add/drop index.
  Made close of table dependent on whether it was opened.
  Prepared for NDB cluster support.
  Fixed commit to be called outside of LOCK_open.
2006-01-12 10:05:07 +01:00
..
2005-12-21 10:18:40 -08:00
2005-09-30 14:03:55 +02:00
2006-01-11 19:31:21 +01:00
2005-12-28 18:29:32 +02:00
2006-01-10 11:31:45 +01:00
2006-01-11 22:59:08 -08:00
2006-01-11 11:35:25 +01:00
2006-01-11 11:35:25 +01:00
2006-01-11 11:35:25 +01:00
2005-11-23 22:45:02 +02:00
2006-01-11 11:35:25 +01:00
2005-11-23 22:45:02 +02:00
2006-01-11 11:35:25 +01:00
2005-11-23 22:45:02 +02:00
2006-01-11 11:35:25 +01:00
2005-11-23 22:45:02 +02:00
2006-01-11 11:35:25 +01:00
2006-01-11 11:35:25 +01:00
2006-01-11 11:35:25 +01:00
2005-11-26 05:35:37 +01:00
2005-10-15 14:32:37 -07:00
2005-12-11 22:21:19 -08:00
2005-12-22 12:29:00 +03:00
2005-12-22 12:29:00 +03:00
2005-11-23 22:45:02 +02:00
2006-01-05 11:18:26 +03:00
2005-11-23 22:58:53 +02:00
2006-01-11 12:01:36 +01:00
2006-01-11 11:35:25 +01:00
2006-01-11 12:01:36 +01:00
2006-01-11 11:35:25 +01:00
2006-01-10 21:02:19 +01:00
2005-12-22 12:29:00 +03:00
2005-10-12 00:58:22 +03:00
2005-12-01 13:34:48 +01:00
2006-01-01 22:18:02 +01:00
2006-01-10 21:02:19 +01:00
2006-01-10 21:02:19 +01:00
2006-01-10 21:02:19 +01:00
2006-01-10 21:02:19 +01:00
2006-01-10 21:02:19 +01:00
2006-01-09 15:59:39 +01:00
2005-11-23 22:45:02 +02:00
2005-11-05 01:32:55 +02:00
2006-01-10 21:02:19 +01:00
2006-01-11 12:01:36 +01:00
2005-08-12 17:57:19 +03:00
2006-01-11 12:01:36 +01:00
2006-01-08 17:17:22 -08:00
2005-12-14 01:21:56 +02:00
2005-11-23 22:45:02 +02:00
2005-12-21 10:18:40 -08:00
2006-01-10 21:02:19 +01:00
2006-01-10 21:02:19 +01:00
2005-12-05 11:45:04 +01:00