1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-08 00:28:29 +03:00
Files
mariadb/mysql-test/t
Magne Mahre e15708d5d2 Bug #31031 ALTER TABLE regression in 5.0
An ALTER TABLE statement which added a column and added
a non-partial index on it failed with:
            
"ERROR 1089 (HY000): Incorrect sub part key; the used
key part isn't a string, the used length is longer than
the key part, or the storage engine doesn't support unique
sub keys"
            
In a check introduced to fix an earlier bug (no. 26794),
to allow for indices on spatial type columns, the
test expression was flawed (a logical OR was used instead
of a logical AND), which led to this regression.
            
The code in question does a sanity check on the key, and
the flawed code mistakenly classified any index created
in the way specified above as a partial index.  Since
many data types does not allow partial indices, the
statement would fail.
2009-10-09 15:04:58 +02:00
..
2009-09-10 11:58:13 +05:00
2009-08-20 14:30:59 +02:00
2009-02-09 22:00:15 +01:00
2009-02-09 22:00:15 +01:00
2009-06-25 13:44:50 +05:00
2008-12-23 18:21:01 +04:00
2008-11-21 17:32:45 +04:00
2009-09-04 12:39:56 +05:00
2009-07-15 15:43:45 +05:30
2009-09-10 03:18:29 -06:00
2009-03-27 10:18:06 +08:00
2009-02-06 18:25:08 +01:00
2009-09-10 15:30:03 +05:00
2009-01-23 13:22:05 +01:00
2009-04-29 07:59:10 +05:00
2009-02-26 18:17:06 +01:00
2009-01-16 17:38:38 +02:00
2009-05-06 15:00:14 +05:30
2009-09-04 15:20:58 +02:00
2009-04-09 14:38:50 +05:00
2008-10-06 08:37:52 -04:00
2008-10-23 21:27:09 +02:00
2009-01-23 13:22:05 +01:00
2009-02-09 22:00:15 +01:00
2009-07-30 17:51:25 -07:00
2009-05-08 21:24:15 +04:00
2009-09-18 16:44:11 +02:00
2009-02-03 14:45:17 +01:00
2009-09-04 15:20:58 +02:00
2009-08-12 12:03:05 +02:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-03-10 16:54:24 +01:00
2009-07-03 10:19:32 +02:00
2009-06-10 11:58:36 +03:00
2009-08-31 16:40:35 +03:00
2008-12-13 19:42:12 +00:00
2009-02-19 18:24:25 -05:00
2008-12-09 17:31:22 +04:00
2009-01-13 15:04:28 +01:00
2009-01-31 02:08:41 +01:00
2009-05-15 12:11:07 +05:00
2009-05-10 21:20:35 +05:00
2009-08-31 17:09:09 +03:00
2009-02-12 11:52:01 +02:00