~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzleadmin.test

  • Committer: Brian Aker
  • Date: 2010-12-17 22:19:09 UTC
  • mfrom: (1960.2.15 trunk-admin-tool)
  • Revision ID: brian@tangent.org-20101217221909-gsltcrjo302qjx26
Merge of Andrew

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;"