summaryrefslogtreecommitdiff
path: root/mysql-test/main/long_unique_bugs.result
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2019-10-08 17:35:09 +0530
committerSachin <sachin.setiya@mariadb.com>2020-02-02 13:53:26 +0530
commit5a6023cf6f5f72e36837761f5df0de91c7de62ed (patch)
tree91966a1ff7f78ec3c1441bdd8976d2e736db2897 /mysql-test/main/long_unique_bugs.result
parent1b414c0313794c4e9aa36cf099e957f1eb283e3d (diff)
downloadmariadb-git-5a6023cf6f5f72e36837761f5df0de91c7de62ed.tar.gz
MDEV-18791 Wrong error upon creating Aria table with long index on BLOB
If we have long unique key for aria engine return too long key error, because Aria does not support key on virtual generated column.
Diffstat (limited to 'mysql-test/main/long_unique_bugs.result')
-rw-r--r--mysql-test/main/long_unique_bugs.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/long_unique_bugs.result b/mysql-test/main/long_unique_bugs.result
index 33496c4e20d..d4b71e2bc46 100644
--- a/mysql-test/main/long_unique_bugs.result
+++ b/mysql-test/main/long_unique_bugs.result
@@ -265,3 +265,5 @@ ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
disconnect con1;
connection default;
DROP TABLE t1, t2;
+CREATE TABLE t1 (a TEXT, UNIQUE(a)) ENGINE=Aria;
+ERROR 42000: Specified key was too long; max key length is 1000 bytes