~drizzle-trunk/drizzle/development

1960.2.8 by Andrew Hutchings
Modify dtr to cope with drizzleadmin and create test case
1
# Test uses max-connections of 2 to test drizzleadmin override of this setting
2
# along with admin-ip-address of 127.0.0.1
3
4
connect (con1,localhost,root,,);
5
# This next one should hit max-connections limit
1960.2.9 by Andrew Hutchings
Fix extra output in drizzleadmin test
6
--disable_query_log
1960.2.8 by Andrew Hutchings
Modify dtr to cope with drizzleadmin and create test case
7
--error 1040
8
connect (con2,localhost,root,,);
1960.2.9 by Andrew Hutchings
Fix extra output in drizzleadmin test
9
--enable_query_log
1960.2.8 by Andrew Hutchings
Modify dtr to cope with drizzleadmin and create test case
10
1960.2.13 by Andrew Hutchings
Make the test look for drizzleadmin failure instead of success as this test is not possible to fix for success on our FreeBSD 8.0 box
11
# This should override max-connections and give an admin error
12
--error 1
1960.2.8 by Andrew Hutchings
Modify dtr to cope with drizzleadmin and create test case
13
--exec $DRIZZLE_ADMIN -e "SELECT 1;"