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
a0f89519
Commit
a0f89519
authored
Apr 20, 2010
by
Alexey Kopytov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test for skip_name_resolve to the sys_vars suite.
parent
fa3b2dcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
0 deletions
+39
-0
mysql-test/suite/sys_vars/r/skip_name_resolve_basic.result
mysql-test/suite/sys_vars/r/skip_name_resolve_basic.result
+23
-0
mysql-test/suite/sys_vars/t/skip_name_resolve_basic-master.opt
...-test/suite/sys_vars/t/skip_name_resolve_basic-master.opt
+1
-0
mysql-test/suite/sys_vars/t/skip_name_resolve_basic.test
mysql-test/suite/sys_vars/t/skip_name_resolve_basic.test
+15
-0
No files found.
mysql-test/suite/sys_vars/r/skip_name_resolve_basic.result
0 → 100644
View file @
a0f89519
SHOW VARIABLES LIKE 'skip_name_resolve';
Variable_name Value
skip_name_resolve ON
SHOW GLOBAL VARIABLES LIKE 'skip_name_resolve';
Variable_name Value
skip_name_resolve ON
SHOW SESSION VARIABLES LIKE 'skip_name_resolve';
Variable_name Value
skip_name_resolve ON
SELECT @@skip_name_resolve;
@@skip_name_resolve
1
SELECT @@LOCAL.skip_name_resolve;
ERROR HY000: Variable 'skip_name_resolve' is a GLOBAL variable
SELECT @@GLOBAL.skip_name_resolve;
@@GLOBAL.skip_name_resolve
1
SET @@skip_name_resolve=0;
ERROR HY000: Variable 'skip_name_resolve' is a read only variable
SET @@LOCAL.skip_name_resolve=0;
ERROR HY000: Variable 'skip_name_resolve' is a read only variable
SET @@GLOBAL.skip_name_resolve=0;
ERROR HY000: Variable 'skip_name_resolve' is a read only variable
mysql-test/suite/sys_vars/t/skip_name_resolve_basic-master.opt
0 → 100644
View file @
a0f89519
--skip-name-resolve
mysql-test/suite/sys_vars/t/skip_name_resolve_basic.test
0 → 100644
View file @
a0f89519
SHOW
VARIABLES
LIKE
'skip_name_resolve'
;
SHOW
GLOBAL
VARIABLES
LIKE
'skip_name_resolve'
;
SHOW
SESSION
VARIABLES
LIKE
'skip_name_resolve'
;
SELECT
@@
skip_name_resolve
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT
@@
LOCAL
.
skip_name_resolve
;
SELECT
@@
GLOBAL
.
skip_name_resolve
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SET
@@
skip_name_resolve
=
0
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SET
@@
LOCAL
.
skip_name_resolve
=
0
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SET
@@
GLOBAL
.
skip_name_resolve
=
0
;
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