1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00
Files
mariadb/mysql-test/include
unknown 9d2b259e23 Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB
and auto_increment keys

Problems: 
  1. ALTER TABLE ... ORDER BY... doesn't make sence if there's a 
     user-defined clustered index in the table.
  2. using a secondary index is slower than using a clustered one 
     for a table scan.

Fixes:
  1. raise a warning.
  2. use the clustered index.


mysql-test/include/mix1.inc:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - test case.
mysql-test/r/innodb.result:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - results adjusted.
mysql-test/r/innodb_mysql.result:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - results adjusted.
mysql-test/r/join_outer_innodb.result:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - results adjusted.
sql/sql_select.cc:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - use the clustered index for a table scan (if any) as it's faster than
      using a secondary index.
sql/sql_table.cc:
  Fix for bug #26447: "ALTER TABLE .. ORDER" does not work with InnoDB 
  and auto_increment keys
    - ALTER TABLE ... ORDER BY doesn't make sence if there's a 
      user-defined clustered index in the table. Ignore it in such cases
      and raise a warning.
2007-11-07 19:59:58 +04:00
..
2003-08-28 06:08:17 +03:00
2006-08-16 14:58:49 +02:00
2005-07-06 17:16:22 +05:00
2007-10-10 21:39:22 -03:00
2007-06-09 16:05:43 +05:00
2007-06-09 16:05:43 +05:00
2007-06-28 21:34:54 +04:00
2005-05-05 10:36:17 -07:00
2007-06-28 21:34:54 +04:00
2003-01-28 08:38:28 +02:00
2007-06-09 16:05:43 +05:00
2004-06-20 19:11:02 +02:00
2007-06-09 16:05:43 +05:00
2007-06-09 16:05:43 +05:00
2005-07-22 21:06:02 +05:00
2007-06-09 16:05:43 +05:00
2007-06-28 21:34:54 +04:00
2006-01-12 19:51:02 +01:00
2003-12-25 20:11:01 +04:00
2007-06-28 21:34:54 +04:00
2006-09-13 15:37:35 -06:00
2006-04-12 15:56:29 +02:00
2007-02-19 15:31:55 +03:00
2007-09-05 18:02:46 +02:00
2007-06-19 11:38:07 +02:00
2006-02-16 16:33:46 +01:00
2007-04-10 18:01:29 +03:00
2006-01-12 19:51:02 +01:00
2004-12-13 21:00:43 +01:00
2006-08-16 19:29:49 +02:00
2007-08-09 23:18:44 +02:00
2007-06-21 21:58:59 +02:00
2006-11-20 22:42:06 +02:00
2006-12-11 11:44:03 -05:00
2007-06-21 21:58:59 +02:00
2007-06-21 21:58:59 +02:00