~percona-dev/percona-server/release-5.1.51-11-fix-bug-661354

« back to all changes in this revision

Viewing changes to mysql-test/percona_log_connection_error.result

  • Committer: Aleksandr Kuzminsky
  • Date: 2010-10-09 06:15:31 UTC
  • Revision ID: aleksandr.kuzminsky@percona.com-20101009061531-eu06zwg7qi0061u5
mysql-tests are are adjusted for XtraDB version 11

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SET @old_max_connections = @@max_connections;
2
 
SET @old_log_warnings = @@log_warnings;
3
 
SET GLOBAL max_connections=2;
4
 
SET GLOBAL LOG_WARNINGS = 0;
5
 
connect(localhost,root,,test,port,socket);
6
 
ERROR HY000: Too many connections
7
 
SET GLOBAL LOG_WARNINGS = 1;
8
 
connect(localhost,root,,test,port,socket);
9
 
ERROR HY000: Too many connections
10
 
SET GLOBAL LOG_WARNINGS = 0;
11
 
connect(localhost,root,,test,port,socket);
12
 
ERROR HY000: Too many connections
13
 
SET GLOBAL max_connections = @old_max_connections;
14
 
SET GLOBAL log_warnings = @old_log_warnings;
15
 
1