~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/include/grant_cache.inc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
select a from t1;
124
124
select c from t1;
125
125
select * from mysqltest.t1,test.t1;
126
 
--replace_result 127.0.0.1 localhost
 
126
--replace_result localhost localhost
127
127
--error ER_TABLEACCESS_DENIED_ERROR
128
128
select * from t2;
129
129
show status like "Qcache_queries_in_cache";
135
135
connect (user3,localhost,mysqltest_3,,mysqltest,$MASTER_MYPORT,$MASTER_MYSOCK);
136
136
connection user3;
137
137
select "user3";
138
 
--replace_result 127.0.0.1 localhost
 
138
--replace_result localhost localhost
139
139
--error ER_COLUMNACCESS_DENIED_ERROR
140
140
select * from t1;
141
141
select a from t1;
142
 
--replace_result 127.0.0.1 localhost
 
142
--replace_result localhost localhost
143
143
--error ER_COLUMNACCESS_DENIED_ERROR
144
144
select c from t1;
145
 
--replace_result 127.0.0.1 localhost
 
145
--replace_result localhost localhost
146
146
--error ER_TABLEACCESS_DENIED_ERROR
147
147
select * from t2;
148
 
--replace_result 127.0.0.1 localhost
 
148
--replace_result localhost localhost
149
149
--error ER_COLUMNACCESS_DENIED_ERROR
150
150
select mysqltest.t1.c from test.t1,mysqltest.t1;
151
151
show status like "Qcache_queries_in_cache";