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
5d0c1230
Commit
5d0c1230
authored
Mar 05, 2017
by
Vicențiu Ciorbaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing sys_var test for innodb_stats_include_delete_marked
parent
83da1a1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
0 deletions
+78
-0
mysql-test/suite/sys_vars/r/innodb_stats_include_delete_marked_basic.result
...ys_vars/r/innodb_stats_include_delete_marked_basic.result
+25
-0
mysql-test/suite/sys_vars/t/innodb_stats_include_delete_marked_basic.test
.../sys_vars/t/innodb_stats_include_delete_marked_basic.test
+53
-0
No files found.
mysql-test/suite/sys_vars/r/innodb_stats_include_delete_marked_basic.result
0 → 100644
View file @
5d0c1230
SELECT @@innodb_stats_include_delete_marked;
@@innodb_stats_include_delete_marked
0
SET GLOBAL innodb_stats_include_delete_marked=1;
SELECT @@innodb_stats_include_delete_marked;
@@innodb_stats_include_delete_marked
1
SET SESSION innodb_stats_include_delete_marked=1;
ERROR HY000: Variable 'innodb_stats_include_delete_marked' is a GLOBAL variable and should be set with SET GLOBAL
SET GLOBAL innodb_stats_include_delete_marked=100;
ERROR 42000: Variable 'innodb_stats_include_delete_marked' can't be set to the value of '100'
SET GLOBAL innodb_stats_include_delete_marked=foo;
ERROR 42000: Variable 'innodb_stats_include_delete_marked' can't be set to the value of 'foo'
SET GLOBAL innodb_stats_include_delete_marked=OFF ;
SELECT @@innodb_stats_include_delete_marked;
@@innodb_stats_include_delete_marked
0
SET GLOBAL innodb_stats_include_delete_marked=ON ;
SELECT @@innodb_stats_include_delete_marked;
@@innodb_stats_include_delete_marked
1
SET GLOBAL innodb_stats_include_delete_marked=Default ;
SELECT @@innodb_stats_include_delete_marked;
@@innodb_stats_include_delete_marked
0
mysql-test/suite/sys_vars/t/innodb_stats_include_delete_marked_basic.test
0 → 100644
View file @
5d0c1230
###############################################################################
# #
# Variable Name: innodb_stats_include_delete_marked #
# Scope: Global #
# Access Type: Dynamic #
# Data Type: numeric #
# #
# #
# Creation Date: 2016-08-29 #
# Author : Aditya #
# #
# #
# Description: #
# * Value check #
# * Scope check #
# #
###############################################################################
--
source
include
/
have_innodb
.
inc
####################################################################
# Display default value #
####################################################################
SELECT
@@
innodb_stats_include_delete_marked
;
SET
GLOBAL
innodb_stats_include_delete_marked
=
1
;
SELECT
@@
innodb_stats_include_delete_marked
;
# check error
--
error
ER_GLOBAL_VARIABLE
SET
SESSION
innodb_stats_include_delete_marked
=
1
;
# check error
--
error
ER_WRONG_VALUE_FOR_VAR
SET
GLOBAL
innodb_stats_include_delete_marked
=
100
;
# check error
--
error
ER_WRONG_VALUE_FOR_VAR
SET
GLOBAL
innodb_stats_include_delete_marked
=
foo
;
SET
GLOBAL
innodb_stats_include_delete_marked
=
OFF
;
SELECT
@@
innodb_stats_include_delete_marked
;
SET
GLOBAL
innodb_stats_include_delete_marked
=
ON
;
SELECT
@@
innodb_stats_include_delete_marked
;
# Check with default setting
SET
GLOBAL
innodb_stats_include_delete_marked
=
Default
;
SELECT
@@
innodb_stats_include_delete_marked
;
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