~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

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

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Can't be tested with embedded server
 
2
-- source include/not_embedded.inc
 
3
 
 
4
# Bug #8471: IP address with mask fail when skip-name-resolve is on
 
5
GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255';
 
6
SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255';
 
7
REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
 
8
DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
 
9
 
 
10
# End of 4.1 tests
 
11
 
 
12
# Bug #13407 "Remote connecting crashes server".
 
13
# Server crashed when one used USER() function in connection for which
 
14
# was impossible to obtain peer hostname.
 
15
connect (con1, 127.0.0.1, root, , test, $MASTER_MYPORT, );
 
16
--replace_column 1 #
 
17
select user();
 
18
--replace_column 1 <id> 3 <host> 5 <command> 6 <time> 7 <state> 8 <info>
 
19
show processlist;
 
20
connection default;