summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-10-26 20:31:41 +0200
committerunknown <serg@serg.mylan>2004-10-26 20:31:41 +0200
commitc882c26101149a3e06f27670cc14ef62c0cc2ab9 (patch)
treec7421140b78475bb87fd5eeb15e3a9107b07d93c /mysql-test/t
parent28db20e481276cb44cb637c8cc9975608046c5f3 (diff)
downloadmariadb-git-c882c26101149a3e06f27670cc14ef62c0cc2ab9.tar.gz
Bug #6019 - SELECT tries to use too short prefix index on utf8 data
Field_string::pack should respect max_length as Field_string::pack_key does
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/ctype_utf8.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/ctype_utf8.test b/mysql-test/t/ctype_utf8.test
index 238cd6daef3..c6954af8cf4 100644
--- a/mysql-test/t/ctype_utf8.test
+++ b/mysql-test/t/ctype_utf8.test
@@ -643,4 +643,8 @@ create table t1 (
--enable_warnings
insert into t1 values(1,'foo'),(2,'foobar');
select * from t1 where b like 'foob%';
+--disable_warnings
+alter table t1 engine=bdb;
+select * from t1 where b like 'foob%';
+--enable_warnings
drop table t1;