summaryrefslogtreecommitdiff
path: root/mysql-test/r/key.result
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2004-10-26 12:16:35 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2004-10-26 12:16:35 +0400
commit1ff580febc5746b8bbce155632456db4865af81b (patch)
treeee7607365ec1cdcb6805ce284c0d9f5b1c47a982 /mysql-test/r/key.result
parentdc734355e6c6f5563b4a80b23efce660d66c93c7 (diff)
downloadmariadb-git-1ff580febc5746b8bbce155632456db4865af81b.tar.gz
Fix for bug #6166: index prefix length of 0 not rejected
Diffstat (limited to 'mysql-test/r/key.result')
-rw-r--r--mysql-test/r/key.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/key.result b/mysql-test/r/key.result
index e3b341fcaf8..e74bda23da9 100644
--- a/mysql-test/r/key.result
+++ b/mysql-test/r/key.result
@@ -305,3 +305,5 @@ check table t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+create table t1 (c char(10), index (c(0)));
+ERROR HY000: Key part 'c' length cannot be 0