Commit 76059a4a authored by Annamalai Gurusami's avatar Annamalai Gurusami

Fixing a pb2 issue. There is some difference in the output in my local...

Fixing a pb2 issue.  There is some difference in the output in my local machine and pb2 machines in the explain output.  
parent 259a5a30
...@@ -963,7 +963,7 @@ Table Op Msg_type Msg_text ...@@ -963,7 +963,7 @@ Table Op Msg_type Msg_text
test.t1 check status OK test.t1 check status OK
explain select * from t1 where b like 'adfd%'; explain select * from t1 where b like 'adfd%';
id select_type table type possible_keys key key_len ref rows Extra id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range b b 769 NULL 7 Using where 1 SIMPLE t1 range b b 769 NULL # Using where
create table t2(a int, b varchar(255), primary key(a,b)) engine=innodb; create table t2(a int, b varchar(255), primary key(a,b)) engine=innodb;
insert into t2 select a,left(b,255) from t1; insert into t2 select a,left(b,255) from t1;
drop table t1; drop table t1;
......
...@@ -420,6 +420,10 @@ select a, ...@@ -420,6 +420,10 @@ select a,
length(b),b=left(repeat(d,100*a),65535),length(c),c=repeat(d,20*a),d from t1; length(b),b=left(repeat(d,100*a),65535),length(c),c=repeat(d,20*a),d from t1;
show create table t1; show create table t1;
check table t1; check table t1;
# In my local machine and in pb2 machine only the key_len field is differing.
# So masking this problematic output.
--replace_column 9 #
explain select * from t1 where b like 'adfd%'; explain select * from t1 where b like 'adfd%';
# #
......
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