File: mdev375.result

package info (click to toggle)
mariadb 1%3A10.11.14-0%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 614,128 kB
  • sloc: ansic: 2,421,226; cpp: 1,765,048; asm: 381,336; perl: 62,256; java: 39,363; pascal: 38,841; sh: 38,242; sql: 19,830; yacc: 19,731; xml: 10,414; python: 10,125; ruby: 8,544; cs: 6,542; makefile: 6,155; ada: 1,879; lex: 1,207; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (29 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set @save_log_warnings=@@log_warnings, @save_max_connections=@@max_connections;
SET GLOBAL log_warnings=4;
SET GLOBAL max_connections=10;
connect  tmp_con1,localhost,root,,;
connect  tmp_con2,localhost,root,,;
connect  tmp_con3,localhost,root,,;
connect  tmp_con4,localhost,root,,;
connect  tmp_con5,localhost,root,,;
connect  tmp_con6,localhost,root,,;
connect  tmp_con7,localhost,root,,;
connect  tmp_con8,localhost,root,,;
connect  con1,localhost,root,,;
SELECT 1;
1
1
connect  con2,localhost,root,,;
SELECT 2;
2
2
ERROR HY000: Too many connections
connection default;
SELECT 0;
0
0
show status like "Threads_connected";
Variable_name	Value
Threads_connected	11
SET GLOBAL log_warnings=@save_log_warnings;
SET GLOBAL max_connections=@save_max_connections;