~paul-mccullagh/maria/maria-pbxt-rc2

« back to all changes in this revision

Viewing changes to mysql-test/t/innodb_bug34053.test

  • Committer: knielsen at knielsen-hq
  • Date: 2009-08-03 20:19:12 UTC
  • mfrom: (2711.1.6 mariadb-xtradb-merge2)
  • Revision ID: knielsen@knielsen-hq.org-20090803201912-k13ajgva70k1l3y3
Merge XtraDB 6 with latest MariaDB 5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Make sure http://bugs.mysql.com/34053 remains fixed.
 
3
#
 
4
 
 
5
-- source include/not_embedded.inc
 
6
-- source include/have_innodb.inc
 
7
 
 
8
SET storage_engine=InnoDB;
 
9
 
 
10
# we do not really care about what gets printed, we are only
 
11
# interested in getting success or failure according to our
 
12
# expectations
 
13
-- disable_query_log
 
14
-- disable_result_log
 
15
 
 
16
GRANT USAGE ON *.* TO 'shane'@'localhost' IDENTIFIED BY '12345';
 
17
FLUSH PRIVILEGES;
 
18
 
 
19
-- connect (con1,localhost,shane,12345,)
 
20
 
 
21
-- connection con1
 
22
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
 
23
CREATE TABLE innodb_monitor (a INT) ENGINE=INNODB;
 
24
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
 
25
CREATE TABLE innodb_mem_validate (a INT) ENGINE=INNODB;
 
26
CREATE TABLE innodb_monitorx (a INT) ENGINE=INNODB;
 
27
DROP TABLE innodb_monitorx;
 
28
CREATE TABLE innodb_monito (a INT) ENGINE=INNODB;
 
29
DROP TABLE innodb_monito;
 
30
CREATE TABLE xinnodb_monitor (a INT) ENGINE=INNODB;
 
31
DROP TABLE xinnodb_monitor;
 
32
CREATE TABLE nnodb_monitor (a INT) ENGINE=INNODB;
 
33
DROP TABLE nnodb_monitor;
 
34
 
 
35
-- connection default
 
36
CREATE TABLE innodb_monitor (a INT) ENGINE=INNODB;
 
37
CREATE TABLE innodb_mem_validate (a INT) ENGINE=INNODB;
 
38
 
 
39
-- connection con1
 
40
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
 
41
DROP TABLE innodb_monitor;
 
42
-- error ER_SPECIFIC_ACCESS_DENIED_ERROR
 
43
DROP TABLE innodb_mem_validate;
 
44
 
 
45
-- connection default
 
46
DROP TABLE innodb_monitor;
 
47
DROP TABLE innodb_mem_validate;
 
48
DROP USER 'shane'@'localhost';
 
49
 
 
50
-- disconnect con1