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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
08c9f317
Commit
08c9f317
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
31ae2564
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 @
08c9f317
select @@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;
ERROR HY000: Variable 'shared_memory_base_name' is a GLOBAL variable
show global variables like 'shared_memory_base_name';
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';
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';
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';
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;
ERROR HY000: Variable 'shared_memory_base_name' is a read only variable
set session shared_memory_base_name=1;
...
...
mysql-test/suite/sys_vars/t/shared_memory_base_name_basic.test
View file @
08c9f317
...
...
@@ -3,17 +3,17 @@
#
# only global
#
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
select
@@
global
.
shared_memory_base_name
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
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'
;
--
replace_result
$MYSQL
TEST_VARDIR
MYSQLTEST_VAR
DIR
--
replace_result
$MYSQL
_TMP_DIR
MYSQL_TMP_
DIR
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'
;
--
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'
;
#
...
...
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