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
e180f3c5
Commit
e180f3c5
authored
Apr 26, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapt the test case for Oracle Bug#25330449
parent
dbe4c4e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
mysql-test/suite/innodb/r/readahead.result
mysql-test/suite/innodb/r/readahead.result
+6
-0
mysql-test/suite/innodb/t/readahead.test
mysql-test/suite/innodb/t/readahead.test
+22
-0
No files found.
mysql-test/suite/innodb/r/readahead.result
0 → 100644
View file @
e180f3c5
# Bug#25330449 ASSERT SIZE==SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=INNODB ROW_FORMAT=COMPRESSED;
SET @saved = @@GLOBAL.innodb_random_read_ahead;
SET GLOBAL innodb_random_read_ahead = 1;
DROP TABLE t1;
SET GLOBAL innodb_random_read_ahead = @saved;
mysql-test/suite/innodb/t/readahead.test
0 → 100644
View file @
e180f3c5
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb_max_16k
.
inc
# Embedded server tests do not support restarting
--
source
include
/
not_embedded
.
inc
--
echo
# Bug#25330449 ASSERT SIZE==SPACE->SIZE DURING BUF_READ_AHEAD_RANDOM
let
$MYSQLD_DATADIR
=
`SELECT @@datadir`
;
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
)
ENGINE
=
INNODB
ROW_FORMAT
=
COMPRESSED
;
--
source
include
/
shutdown_mysqld
.
inc
--
remove_file
$MYSQLD_DATADIR
/
ib_buffer_pool
--
write_file
$MYSQLD_DATADIR
/
ib_buffer_pool
EOF
--
source
include
/
start_mysqld
.
inc
SET
@
saved
=
@@
GLOBAL
.
innodb_random_read_ahead
;
SET
GLOBAL
innodb_random_read_ahead
=
1
;
DROP
TABLE
t1
;
SET
GLOBAL
innodb_random_read_ahead
=
@
saved
;
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