~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzleadmin.test

  • Committer: Monty Taylor
  • Date: 2010-09-28 07:45:44 UTC
  • mto: (1799.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1800.
  • Revision ID: mordred@inaugust.com-20100928074544-s3ujnv6s8wro74l2
Added BSD copying file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
6
 
--disable_query_log
7
 
--error 1040
8
 
connect (con2,localhost,root,,);
9
 
--enable_query_log
10
 
 
11
 
# This should override max-connections and give an admin error
12
 
--error 1
13
 
--exec $DRIZZLE_ADMIN -e "SELECT 1;"