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
d364e64a
Commit
d364e64a
authored
Apr 14, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing tests
parent
aa4c7dea
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
0 deletions
+86
-0
mysql-test/suite/sys_vars/r/innodb_use_atomic_writes_basic.result
...st/suite/sys_vars/r/innodb_use_atomic_writes_basic.result
+21
-0
mysql-test/suite/sys_vars/r/innodb_use_fallocate_basic.result
...l-test/suite/sys_vars/r/innodb_use_fallocate_basic.result
+21
-0
mysql-test/suite/sys_vars/t/innodb_use_atomic_writes_basic.test
...test/suite/sys_vars/t/innodb_use_atomic_writes_basic.test
+22
-0
mysql-test/suite/sys_vars/t/innodb_use_fallocate_basic.test
mysql-test/suite/sys_vars/t/innodb_use_fallocate_basic.test
+22
-0
No files found.
mysql-test/suite/sys_vars/r/innodb_use_atomic_writes_basic.result
0 → 100644
View file @
d364e64a
select @@global.innodb_use_atomic_writes;
@@global.innodb_use_atomic_writes
0
select @@session.innodb_use_atomic_writes;
ERROR HY000: Variable 'innodb_use_atomic_writes' is a GLOBAL variable
show global variables like 'innodb_use_atomic_writes';
Variable_name Value
innodb_use_atomic_writes OFF
show session variables like 'innodb_use_atomic_writes';
Variable_name Value
innodb_use_atomic_writes OFF
select * from information_schema.global_variables where variable_name='innodb_use_atomic_writes';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_ATOMIC_WRITES OFF
select * from information_schema.session_variables where variable_name='innodb_use_atomic_writes';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_ATOMIC_WRITES OFF
set global innodb_use_atomic_writes=1;
ERROR HY000: Variable 'innodb_use_atomic_writes' is a read only variable
set session innodb_use_atomic_writes=1;
ERROR HY000: Variable 'innodb_use_atomic_writes' is a read only variable
mysql-test/suite/sys_vars/r/innodb_use_fallocate_basic.result
0 → 100644
View file @
d364e64a
select @@global.innodb_use_fallocate;
@@global.innodb_use_fallocate
1
select @@session.innodb_use_fallocate;
ERROR HY000: Variable 'innodb_use_fallocate' is a GLOBAL variable
show global variables like 'innodb_use_fallocate';
Variable_name Value
innodb_use_fallocate ON
show session variables like 'innodb_use_fallocate';
Variable_name Value
innodb_use_fallocate ON
select * from information_schema.global_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
select * from information_schema.session_variables where variable_name='innodb_use_fallocate';
VARIABLE_NAME VARIABLE_VALUE
INNODB_USE_FALLOCATE ON
set global innodb_use_fallocate=1;
ERROR HY000: Variable 'innodb_use_fallocate' is a read only variable
set session innodb_use_fallocate=1;
ERROR HY000: Variable 'innodb_use_fallocate' is a read only variable
mysql-test/suite/sys_vars/t/innodb_use_atomic_writes_basic.test
0 → 100644
View file @
d364e64a
--
source
include
/
have_innodb
.
inc
# bool readonly
#
# show values;
#
select
@@
global
.
innodb_use_atomic_writes
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
select
@@
session
.
innodb_use_atomic_writes
;
show
global
variables
like
'innodb_use_atomic_writes'
;
show
session
variables
like
'innodb_use_atomic_writes'
;
select
*
from
information_schema
.
global_variables
where
variable_name
=
'innodb_use_atomic_writes'
;
select
*
from
information_schema
.
session_variables
where
variable_name
=
'innodb_use_atomic_writes'
;
#
# show that it's read-only
#
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
set
global
innodb_use_atomic_writes
=
1
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
set
session
innodb_use_atomic_writes
=
1
;
mysql-test/suite/sys_vars/t/innodb_use_fallocate_basic.test
0 → 100644
View file @
d364e64a
--
source
include
/
have_innodb
.
inc
# bool readonly
#
# show values;
#
select
@@
global
.
innodb_use_fallocate
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
select
@@
session
.
innodb_use_fallocate
;
show
global
variables
like
'innodb_use_fallocate'
;
show
session
variables
like
'innodb_use_fallocate'
;
select
*
from
information_schema
.
global_variables
where
variable_name
=
'innodb_use_fallocate'
;
select
*
from
information_schema
.
session_variables
where
variable_name
=
'innodb_use_fallocate'
;
#
# show that it's read-only
#
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
set
global
innodb_use_fallocate
=
1
;
--
error
ER_INCORRECT_GLOBAL_LOCAL_VAR
set
session
innodb_use_fallocate
=
1
;
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