Commit 54d9d2e1 authored by monty@mysql.com's avatar monty@mysql.com

Portability fix

(BDB test failed in Intel64)
parent a7c6a100
...@@ -1870,7 +1870,7 @@ a b ...@@ -1870,7 +1870,7 @@ a b
drop table t1; drop table t1;
create table t1 (v varchar(65530), key(v)); create table t1 (v varchar(65530), key(v));
Warnings: Warnings:
Warning 1071 Specified key was too long; max key length is 1024 bytes Warning 1071 Specified key was too long; max key length is MAX_KEY_LENGTH bytes
drop table if exists t1; drop table if exists t1;
create table t1 (v varchar(65536)); create table t1 (v varchar(65536));
Warnings: Warnings:
......
...@@ -962,6 +962,7 @@ source include/varchar.inc; ...@@ -962,6 +962,7 @@ source include/varchar.inc;
# Some errors/warnings on create # Some errors/warnings on create
# #
--replace_result 1024 MAX_KEY_LENGTH 3072 MAX_KEY_LENGTH
create table t1 (v varchar(65530), key(v)); create table t1 (v varchar(65530), key(v));
drop table if exists t1; drop table if exists t1;
create table t1 (v varchar(65536)); create table t1 (v varchar(65536));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment