~vkolesnikov/pbxt/pbxt-preload-test-bug

« back to all changes in this revision

Viewing changes to pbxt/mysql-test-update/mysql-test/t/partition_error.test

  • Committer: paul-mccullagh
  • Date: 2008-03-10 11:36:34 UTC
  • Revision ID: paul-mccullagh-417ebf175a9c8ee6e5b3777d9e2398e1fb197391
Implemented full durability

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#
34
34
# Partition by key list, wrong result type
35
35
#
36
 
--error ER_PARTITION_FUNC_NOT_ALLOWED_ERROR
 
36
--error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
37
37
CREATE TABLE t1 (
38
38
a int not null,
39
39
b int not null,
109
109
#
110
110
# Partition by hash, invalid result type
111
111
#
112
 
--error ER_PARTITION_FUNC_NOT_ALLOWED_ERROR
 
112
--error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
113
113
CREATE TABLE t1 (
114
114
a int not null,
115
115
b int not null,
533
533
#
534
534
# Partition by range, wrong result type of partition function
535
535
#
536
 
--error ER_PARTITION_FUNC_NOT_ALLOWED_ERROR
 
536
--error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
537
537
CREATE TABLE t1 (
538
538
a int not null,
539
539
b int not null,
769
769
#
770
770
# Bug 18198 Partitions: Verify that erroneus partition functions doesn't work
771
771
#
 
772
-- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
772
773
create table t1 (v varchar(12))
773
774
partition by range (ascii(v))
774
775
(partition p0 values less than (10));
775
 
drop table t1;
 
776
#drop table t1;
776
777
 
777
778
-- error 1064
778
779
create table t1 (a int)
790
791
create table t1 (a int)
791
792
partition by range (a + (select count(*) from t1))
792
793
(partition p1 values less than (1));
 
794
-- error ER_PARTITION_FUNCTION_IS_NOT_ALLOWED
793
795
create table t1 (a char(10))
794
796
partition by hash (extractvalue(a,'a'));
795
797