~akopytov/percona-server/slow_extended_and_rtd_fixes-5.5

« back to all changes in this revision

Viewing changes to mysql-test/log_connection_error.patch/percona_log_connection_error.result

  • Committer: Alexey Kopytov
  • Date: 2011-09-07 14:00:24 UTC
  • mfrom: (140.1.19 merge)
  • Revision ID: akopytov@gmail.com-20110907140024-a8dvq86m5pxh9pxy
Manual merge from trunk.

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
 
[log_grep.inc] file: percona.log_connection_error.err pattern: Too many connections
16
 
[log_grep.inc] lines:   1