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
d00a9676
Commit
d00a9676
authored
Feb 18, 2010
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
ae9d0ad5
27726e50
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/character_sets_dir_basic.result
mysql-test/suite/sys_vars/r/character_sets_dir_basic.result
+5
-5
mysql-test/suite/sys_vars/t/character_sets_dir_basic.test
mysql-test/suite/sys_vars/t/character_sets_dir_basic.test
+5
-5
No files found.
mysql-test/suite/sys_vars/r/character_sets_dir_basic.result
View file @
d00a9676
select @@global.character_sets_dir;
@@global.character_sets_dir
MYSQL_
SHAREDIR/charsets
/
MYSQL_
CHARSETSDIR
/
select @@session.character_sets_dir;
ERROR HY000: Variable 'character_sets_dir' is a GLOBAL variable
show global variables like 'character_sets_dir';
Variable_name Value
character_sets_dir MYSQL_
SHAREDIR/charsets
/
character_sets_dir MYSQL_
CHARSETSDIR
/
show session variables like 'character_sets_dir';
Variable_name Value
character_sets_dir MYSQL_
SHAREDIR/charsets
/
character_sets_dir MYSQL_
CHARSETSDIR
/
select * from information_schema.global_variables where variable_name='character_sets_dir';
VARIABLE_NAME VARIABLE_VALUE
CHARACTER_SETS_DIR MYSQL_
SHAREDIR/charsets
/
CHARACTER_SETS_DIR MYSQL_
CHARSETSDIR
/
select * from information_schema.session_variables where variable_name='character_sets_dir';
VARIABLE_NAME VARIABLE_VALUE
CHARACTER_SETS_DIR MYSQL_
SHAREDIR/charsets
/
CHARACTER_SETS_DIR MYSQL_
CHARSETSDIR
/
set global character_sets_dir="foo";
ERROR HY000: Variable 'character_sets_dir' is a read only variable
set session character_sets_dir="foo";
...
...
mysql-test/suite/sys_vars/t/character_sets_dir_basic.test
View file @
d00a9676
#
# show the global and session values;
#
--
replace_result
$MYSQL_
SHAREDIR
MYSQL_SHARE
DIR
--
replace_result
$MYSQL_
CHARSETSDIR
MYSQL_CHARSETS
DIR
select
@@
global
.
character_sets_dir
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
select
@@
session
.
character_sets_dir
;
--
replace_result
$MYSQL_
SHAREDIR
MYSQL_SHARE
DIR
--
replace_result
$MYSQL_
CHARSETSDIR
MYSQL_CHARSETS
DIR
show
global
variables
like
'character_sets_dir'
;
--
replace_result
$MYSQL_
SHAREDIR
MYSQL_SHARE
DIR
--
replace_result
$MYSQL_
CHARSETSDIR
MYSQL_CHARSETS
DIR
show
session
variables
like
'character_sets_dir'
;
--
replace_result
$MYSQL_
SHAREDIR
MYSQL_SHARE
DIR
--
replace_result
$MYSQL_
CHARSETSDIR
MYSQL_CHARSETS
DIR
select
*
from
information_schema
.
global_variables
where
variable_name
=
'character_sets_dir'
;
--
replace_result
$MYSQL_
SHAREDIR
MYSQL_SHARE
DIR
--
replace_result
$MYSQL_
CHARSETSDIR
MYSQL_CHARSETS
DIR
select
*
from
information_schema
.
session_variables
where
variable_name
=
'character_sets_dir'
;
#
...
...
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