summaryrefslogtreecommitdiff
path: root/mysql-test/r/myisam.result
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-12-31 11:56:50 +0200
committerunknown <monty@mysql.com>2004-12-31 11:56:50 +0200
commit7ea744f723f819480a253c95533a8c258bc4925c (patch)
tree6bb018bc0c482575e5fb2e8831e5b2b07e5e2ef4 /mysql-test/r/myisam.result
parentc4c2c7bceb3a427fe669bfeec6747a72e404e1ad (diff)
downloadmariadb-git-7ea744f723f819480a253c95533a8c258bc4925c.tar.gz
Fix max_key_length and max_unique_length to take into account varchar and null extra lengths
This fixes a bug found by bdb.test Fixes a portability issue with bdb tables mysql-test/include/varchar.inc: Fix test to be reproducable (Either key v or v_2 could be used here) mysql-test/r/bdb.result: Fix test to be reproducable (Either key v or v_2 could be used here) mysql-test/r/myisam.result: Fix test to be reproducable (Either key v or v_2 could be used here) sql/table.cc: Fix max_key_length and max_unique_length to take into account varchar and null extra lengths This fixes a bug found by bdb.test
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r--mysql-test/r/myisam.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result
index 98020f26e37..bc79b6e4a68 100644
--- a/mysql-test/r/myisam.result
+++ b/mysql-test/r/myisam.result
@@ -716,7 +716,7 @@ qq
*a *a*a *
explain select * from t1 where v='a';
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 ref v,v_2 v_2 13 const 7 Using where
+1 SIMPLE t1 ref v,v_2 # 13 const 7 Using where
select v,count(*) from t1 group by v limit 10;
v count(*)
a 1