1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixing a pb2 issue. There is some difference in the output in my local machine and pb2 machines in the explain output.

This commit is contained in:
Annamalai Gurusami
2012-12-24 16:49:42 +05:30
parent adc973d50d
commit d1dcbfd240
2 changed files with 5 additions and 1 deletions

View File

@@ -963,7 +963,7 @@ Table Op Msg_type Msg_text
test.t1 check status OK
explain select * from t1 where b like 'adfd%';
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;
insert into t2 select a,left(b,255) from t1;
drop table t1;

View File

@@ -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;
show create 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%';
#