Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b2d1b1f8
Commit
b2d1b1f8
authored
Nov 25, 2010
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test sys_vars.shared_memory_base_name_basic used wrong path
parent
cad53ac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/suite/sys_vars/r/shared_memory_base_name_basic.result
...est/suite/sys_vars/r/shared_memory_base_name_basic.result
+5
-5
mysql-test/suite/sys_vars/t/shared_memory_base_name_basic.test
...-test/suite/sys_vars/t/shared_memory_base_name_basic.test
+5
-5
No files found.
mysql-test/suite/sys_vars/r/shared_memory_base_name_basic.result
View file @
b2d1b1f8
select @@global.shared_memory_base_name;
select @@global.shared_memory_base_name;
@@global.shared_memory_base_name
@@global.shared_memory_base_name
MYSQL
TEST_VARDIR/tmp
/mysqld.1.sock
MYSQL
_TMP_DIR
/mysqld.1.sock
select @@session.shared_memory_base_name;
select @@session.shared_memory_base_name;
ERROR HY000: Variable 'shared_memory_base_name' is a GLOBAL variable
ERROR HY000: Variable 'shared_memory_base_name' is a GLOBAL variable
show global variables like 'shared_memory_base_name';
show global variables like 'shared_memory_base_name';
Variable_name Value
Variable_name Value
shared_memory_base_name MYSQL
TEST_VARDIR/tmp
/mysqld.1.sock
shared_memory_base_name MYSQL
_TMP_DIR
/mysqld.1.sock
show session variables like 'shared_memory_base_name';
show session variables like 'shared_memory_base_name';
Variable_name Value
Variable_name Value
shared_memory_base_name MYSQL
TEST_VARDIR/tmp
/mysqld.1.sock
shared_memory_base_name MYSQL
_TMP_DIR
/mysqld.1.sock
select * from information_schema.global_variables where variable_name='shared_memory_base_name';
select * from information_schema.global_variables where variable_name='shared_memory_base_name';
VARIABLE_NAME VARIABLE_VALUE
VARIABLE_NAME VARIABLE_VALUE
SHARED_MEMORY_BASE_NAME MYSQL
TEST_VARDIR/tmp
/mysqld.1.sock
SHARED_MEMORY_BASE_NAME MYSQL
_TMP_DIR
/mysqld.1.sock
select * from information_schema.session_variables where variable_name='shared_memory_base_name';
select * from information_schema.session_variables where variable_name='shared_memory_base_name';
VARIABLE_NAME VARIABLE_VALUE
VARIABLE_NAME VARIABLE_VALUE
SHARED_MEMORY_BASE_NAME MYSQL
TEST_VARDIR/tmp
/mysqld.1.sock
SHARED_MEMORY_BASE_NAME MYSQL
_TMP_DIR
/mysqld.1.sock
set global shared_memory_base_name=1;
set global shared_memory_base_name=1;
ERROR HY000: Variable 'shared_memory_base_name' is a read only variable
ERROR HY000: Variable 'shared_memory_base_name' is a read only variable
set session shared_memory_base_name=1;
set session shared_memory_base_name=1;
...
...
mysql-test/suite/sys_vars/t/shared_memory_base_name_basic.test
View file @
b2d1b1f8
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
#
#
# only global
# only global
#
#
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
select
@@
global
.
shared_memory_base_name
;
select
@@
global
.
shared_memory_base_name
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
select
@@
session
.
shared_memory_base_name
;
select
@@
session
.
shared_memory_base_name
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
show
global
variables
like
'shared_memory_base_name'
;
show
global
variables
like
'shared_memory_base_name'
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
show
session
variables
like
'shared_memory_base_name'
;
show
session
variables
like
'shared_memory_base_name'
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
select
*
from
information_schema
.
global_variables
where
variable_name
=
'shared_memory_base_name'
;
select
*
from
information_schema
.
global_variables
where
variable_name
=
'shared_memory_base_name'
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
select
*
from
information_schema
.
session_variables
where
variable_name
=
'shared_memory_base_name'
;
select
*
from
information_schema
.
session_variables
where
variable_name
=
'shared_memory_base_name'
;
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment