~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/sys_vars/t/socket_basic.test

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# only global
 
3
#
 
4
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
 
5
select @@global.socket;
 
6
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
7
select @@session.socket;
 
8
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
 
9
show global variables like 'socket';
 
10
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
 
11
show session variables like 'socket';
 
12
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
 
13
select * from information_schema.global_variables where variable_name='socket';
 
14
--replace_result $MYSQL_TMP_DIR MYSQL_TMP_DIR
 
15
select * from information_schema.session_variables where variable_name='socket';
 
16
 
 
17
#
 
18
# show that it's read-only
 
19
#
 
20
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
21
set global socket=1;
 
22
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
 
23
set session socket=1;