.inc extension for PHP, Pascal, Assembly, SQL, C++, HTML and SourcePawn

This commit is contained in:
Paul Chaignon
2015-05-10 20:36:41 +02:00
parent 5bf8cf50ae
commit 0c2aeae00d
8 changed files with 610 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Helper for hostcache_*.test
# Set a known initial state for the test
flush status;
flush hosts;
flush user_resources;
flush privileges;
# Print critical setup
select @@global.debug;
select @@global.max_connect_errors;
select @@global.max_user_connections;
select @@global.max_connections;
# Make sure there are no remaining records that can change the test outcome
select `User`, `Host` from mysql.`user` where `host` like '%\\%%';
select `User`, `Host` from mysql.`user` where `user` like '192.%';
select `User`, `Host` from mysql.`user` where `user` like '2001:%';
select `User`, `Host` from mysql.`user` where `user` like 'santa.claus.%';