~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/grant_cache.inc

  • Committer: Mark Atwood
  • Date: 2011-12-15 23:13:18 UTC
  • mfrom: (2465.3.1 rf3)
  • Revision ID: me@mark.atwood.name-20111215231318-mt2y2q4s5ydp79q3
mergeĀ lp:~olafvdspek/drizzle/refactor14

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";