summaryrefslogtreecommitdiff
path: root/mysql-test/t/not_embedded_server.test
blob: 044d8665a18669d0c56ab9cfc304006834582bcb (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Here we collect tests that doesn't work with the embedded server
#

-- source include/not_embedded.inc

#
# Show full process list with prepare
# To not show other connections, this must be the first test and we must
# have a server restart before this one
#

prepare stmt1 from ' show full processlist ';
--replace_column 1 number 6 time 3 localhost
execute stmt1;
deallocate prepare stmt1;

# End of 4.1 tests

#
# Bug#31222: com_% global status counters behave randomly with
# mysql_change_user.
#

FLUSH STATUS;

--disable_result_log
--disable_query_log

let $i = 100;

while ($i)
{
  dec $i;

  SELECT 1;
}

--enable_query_log
--enable_result_log

SHOW GLOBAL STATUS LIKE 'com_select';

--change_user

SHOW GLOBAL STATUS LIKE 'com_select';