~mdcallag/+junk/5.1-map

« back to all changes in this revision

Viewing changes to mysql-test/r/partition_grant.result

  • Committer: msvensson at pilot
  • Date: 2007-04-24 09:11:45 UTC
  • mfrom: (2469.1.106)
  • Revision ID: sp1r-msvensson@pilot.blaudden-20070424091145-10463
Merge pilot.blaudden:/home/msvensson/mysql/my51-m-mysql_upgrade
into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
alter table t1 drop partition p3;
20
20
ERROR 42000: ALTER command denied to user 'mysqltest_1'@'localhost' for table 't1'
21
21
revoke select,alter,drop on mysqltest_1.* from mysqltest_1@localhost;
 
22
drop table t1;
 
23
create table t1 (s1 int);
 
24
insert into t1 values (1);
 
25
grant alter on mysqltest_1.* to mysqltest_1@localhost;
 
26
alter table t1 partition by list (s1) (partition p1 values in (2));
 
27
ERROR HY000: Table has no partition for some existing values
 
28
grant select, alter on mysqltest_1.* to mysqltest_1@localhost;
 
29
alter table t1 partition by list (s1) (partition p1 values in (2));
 
30
ERROR HY000: Table has no partition for value 1
 
31
drop table t1;
22
32
drop user mysqltest_1@localhost;
23
 
drop table t1;
24
33
drop schema mysqltest_1;
25
34
End of 5.1 tests