2005-04-01 19:00:14 -08:00
|
|
|
# Can't be tested with embedded server
|
2009-03-05 14:35:03 +01:00
|
|
|
--source include/not_embedded.inc
|
2005-04-01 19:00:14 -08:00
|
|
|
|
2009-03-05 14:35:03 +01:00
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
|
|
|
# Bug#8471 IP address with mask fail when skip-name-resolve is on
|
2005-02-14 20:33:14 -08:00
|
|
|
GRANT ALL ON test.* TO mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
SHOW GRANTS FOR mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
REVOKE ALL ON test.* FROM mysqltest_1@'127.0.0.1/255.255.255.255';
|
|
|
|
DROP USER mysqltest_1@'127.0.0.1/255.255.255.255';
|
2005-07-28 03:22:47 +03:00
|
|
|
|
|
|
|
# End of 4.1 tests
|
2005-09-22 23:03:53 +04:00
|
|
|
|
2009-03-05 14:35:03 +01:00
|
|
|
# Bug#13407 Remote connecting crashes server
|
2005-09-22 23:03:53 +04:00
|
|
|
# Server crashed when one used USER() function in connection for which
|
|
|
|
# was impossible to obtain peer hostname.
|
|
|
|
connect (con1, 127.0.0.1, root, , test, $MASTER_MYPORT, );
|
|
|
|
--replace_column 1 #
|
2009-03-03 21:34:18 +01:00
|
|
|
SELECT USER();
|
2009-03-04 15:33:56 +03:00
|
|
|
# We are only interested in the fact that statement below doesn't
|
|
|
|
# crash server.
|
|
|
|
--disable_result_log
|
2009-03-03 21:34:18 +01:00
|
|
|
SHOW PROCESSLIST;
|
2009-03-04 15:33:56 +03:00
|
|
|
--enable_result_log
|
2005-09-22 23:03:53 +04:00
|
|
|
connection default;
|
2009-03-03 21:34:18 +01:00
|
|
|
disconnect con1;
|
2009-03-05 14:35:03 +01:00
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
|