summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/timed_mutexes_basic.test
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2009-10-09 15:04:58 +0200
committerMagne Mahre <magne.mahre@sun.com>2009-10-09 15:04:58 +0200
commit5ca59914ce2ebf11700c5d47fbdf9cbb293ae489 (patch)
tree63a1e51662be6811255d4904cb113a3d11cbb53e /mysql-test/suite/sys_vars/t/timed_mutexes_basic.test
parentc9248c642453b827c6631c5b76340db72f2f7236 (diff)
downloadmariadb-git-5ca59914ce2ebf11700c5d47fbdf9cbb293ae489.tar.gz
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.
Diffstat (limited to 'mysql-test/suite/sys_vars/t/timed_mutexes_basic.test')
0 files changed, 0 insertions, 0 deletions