Merge newbox:mysql-5.1-ppruning-r4

into  mysql.com:/home/psergey/mysql-5.1-26dec-merge
This commit is contained in:
sergefp@mysql.com 2005-12-26 15:12:49 +03:00
commit e6f3cb553d
4 changed files with 4 additions and 2 deletions

View file

@ -249,6 +249,7 @@ id select_type table partitions type possible_keys key key_len ref rows Extra
explain partitions select * from t3 where (a=2 or b=1) and (a=4 or b=2) ; explain partitions select * from t3 where (a=2 or b=1) and (a=4 or b=2) ;
id select_type table partitions type possible_keys key key_len ref rows Extra id select_type table partitions type possible_keys key key_len ref rows Extra
1 SIMPLE t3 p1_sp2,p3_sp1 ALL NULL NULL NULL NULL 3 Using where 1 SIMPLE t3 p1_sp2,p3_sp1 ALL NULL NULL NULL NULL 3 Using where
drop table t3;
create table t1 (a int) partition by hash(a) partitions 2; create table t1 (a int) partition by hash(a) partitions 2;
insert into t1 values (1),(2); insert into t1 values (1),(2);
explain partitions select * from t1 where a is null; explain partitions select * from t1 where a is null;

View file

@ -1,4 +1,4 @@
drop table if exists t1,t2; drop table if exists t1,t2,t3,t4;
drop database if exists client_test_db; drop database if exists client_test_db;
create table t1 create table t1
( (

View file

@ -223,6 +223,7 @@ insert into t3 values (1,1),(2,2),(3,3);
explain partitions select * from t3 where a=2 or b=1; explain partitions select * from t3 where a=2 or b=1;
explain partitions select * from t3 where a=4 or b=2; explain partitions select * from t3 where a=4 or b=2;
explain partitions select * from t3 where (a=2 or b=1) and (a=4 or b=2) ; explain partitions select * from t3 where (a=2 or b=1) and (a=4 or b=2) ;
drop table t3;
# Test for NULLs # Test for NULLs
create table t1 (a int) partition by hash(a) partitions 2; create table t1 (a int) partition by hash(a) partitions 2;

View file

@ -2,7 +2,7 @@
# SQL Syntax for Prepared Statements test # SQL Syntax for Prepared Statements test
# #
--disable_warnings --disable_warnings
drop table if exists t1,t2; drop table if exists t1,t2,t3,t4;
# Avoid wrong warnings if mysql_client_test fails # Avoid wrong warnings if mysql_client_test fails
drop database if exists client_test_db; drop database if exists client_test_db;