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
3dd6fca7
Commit
3dd6fca7
authored
Jan 27, 2017
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure on innodb-trim.
Skip test if system can't do trim operation.
parent
406e113e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
mysql-test/suite/innodb/t/innodb-trim.test
mysql-test/suite/innodb/t/innodb-trim.test
+8
-8
No files found.
mysql-test/suite/innodb/t/innodb-trim.test
View file @
3dd6fca7
...
@@ -31,18 +31,18 @@ call innodb_insert_proc(16000);
...
@@ -31,18 +31,18 @@ call innodb_insert_proc(16000);
commit
;
commit
;
set
autocommit
=
1
;
set
autocommit
=
1
;
--
disable_warnings
let
$success
=
`SELECT variable_value FROM information_schema.global_status WHERE variable_name = 'innodb_num_page_compressed_trim_op'`
;
if
(
!
$success
)
{
--
disable_query_log
--
disable_query_log
--
disable_result_log
--
disable_result_log
let
$success
=
SELECT
variable_value
FROM
information_schema
.
global_status
WHERE
variable_name
=
'innodb_num_page_compressed_trim_op'
;
DROP
PROCEDURE
innodb_insert_proc
;
DROP
TABLE
innodb_page_compressed
;
if
(
$success
)
{
let
$wait_condition
=
SELECT
variable_value
>
5
FROM
information_schema
.
global_status
WHERE
variable_name
=
'innodb_num_page_compressed_trim_op'
;
--
source
include
/
wait_condition
.
inc
}
--
enable_warnings
--
enable_query_log
--
enable_query_log
--
enable_result_log
--
enable_result_log
--
skip
"Test requires TRIM"
;
}
DROP
PROCEDURE
innodb_insert_proc
;
DROP
PROCEDURE
innodb_insert_proc
;
DROP
TABLE
innodb_page_compressed
;
DROP
TABLE
innodb_page_compressed
;
...
...
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