Commit eb333f9b authored by unknown's avatar unknown

Merge newbox:mysql-5.1-ppruning-r4

into  mysql.com:/home/psergey/mysql-5.1-26dec-merge

parents e6cf611f 01e1d1a0
......@@ -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) ;
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
drop table t3;
create table t1 (a int) partition by hash(a) partitions 2;
insert into t1 values (1),(2);
explain partitions select * from t1 where a is null;
......
drop table if exists t1,t2;
drop table if exists t1,t2,t3,t4;
drop database if exists client_test_db;
create table t1
(
......
......@@ -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=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
create table t1 (a int) partition by hash(a) partitions 2;
......
......@@ -2,7 +2,7 @@
# SQL Syntax for Prepared Statements test
#
--disable_warnings
drop table if exists t1,t2;
drop table if exists t1,t2,t3,t4;
# Avoid wrong warnings if mysql_client_test fails
drop database if exists client_test_db;
......
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