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
26e3117c
Commit
26e3117c
authored
Sep 20, 2016
by
Annamalai Gurusami
Committed by
Daniel Black
Sep 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-10829: Port Innodb NUMA interleave test cases from MySQL
parent
f566a4f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
0 deletions
+33
-0
mysql-test/include/have_numa.inc
mysql-test/include/have_numa.inc
+9
-0
mysql-test/suite/sys_vars/r/innodb_numa_interleave_basic.result
...test/suite/sys_vars/r/innodb_numa_interleave_basic.result
+10
-0
mysql-test/suite/sys_vars/t/innodb_numa_interleave_basic.test
...l-test/suite/sys_vars/t/innodb_numa_interleave_basic.test
+14
-0
No files found.
mysql-test/include/have_numa.inc
0 → 100644
View file @
26e3117c
let
$numa_support
=
`SELECT COUNT(VARIABLE_VALUE) = 1 FROM
INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='innodb_numa_interleave'`
;
if
(
$numa_support
==
0
)
{
--
skip
Test
requires
:
Binary
must
be
built
with
NUMA
support
.
}
mysql-test/suite/sys_vars/r/innodb_numa_interleave_basic.result
0 → 100644
View file @
26e3117c
SELECT @@GLOBAL.innodb_numa_interleave;
@@GLOBAL.innodb_numa_interleave
1
SET @@GLOBAL.innodb_numa_interleave=off;
ERROR HY000: Variable 'innodb_numa_interleave' is a read only variable
SELECT @@GLOBAL.innodb_numa_interleave;
@@GLOBAL.innodb_numa_interleave
1
SELECT @@SESSION.innodb_numa_interleave;
ERROR HY000: Variable 'innodb_numa_interleave' is a GLOBAL variable
mysql-test/suite/sys_vars/t/innodb_numa_interleave_basic.test
0 → 100644
View file @
26e3117c
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_numa
.
inc
--
source
include
/
have_64bit
.
inc
SELECT
@@
GLOBAL
.
innodb_numa_interleave
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SET
@@
GLOBAL
.
innodb_numa_interleave
=
off
;
SELECT
@@
GLOBAL
.
innodb_numa_interleave
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
SELECT
@@
SESSION
.
innodb_numa_interleave
;
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