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
af345b72
Commit
af345b72
authored
Mar 08, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-27891: Make the test work with debug builds
parent
ed20e5b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
13 deletions
+15
-13
mysql-test/suite/innodb/r/innodb_buffer_pool_resize_bigtest.result
...t/suite/innodb/r/innodb_buffer_pool_resize_bigtest.result
+7
-6
mysql-test/suite/innodb/t/innodb_buffer_pool_resize_bigtest.opt
...test/suite/innodb/t/innodb_buffer_pool_resize_bigtest.opt
+1
-0
mysql-test/suite/innodb/t/innodb_buffer_pool_resize_bigtest.test
...est/suite/innodb/t/innodb_buffer_pool_resize_bigtest.test
+7
-7
No files found.
mysql-test/suite/innodb/r/innodb_buffer_pool_resize_bigtest.result
View file @
af345b72
MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
after or during DROP TABLE
SET @save_size=@@innodb_buffer_pool_size;
#
# MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
# after or during DROP TABLE
#
select @@innodb_buffer_pool_chunk_size;
@@innodb_buffer_pool_chunk_size
1048576
...
...
@@ -9,5 +10,5 @@ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
SET GLOBAL innodb_buffer_pool_size=256*1024*1024;
DROP TABLE t1;
SET GLOBAL innodb_buffer_pool_size=@@innodb_buffer_pool_size + @@innodb_buffer_pool_chunk_size;
#
end of 10.6 test
set global innodb_buffer_pool_size = 8388608;
;
#
End of 10.6 tests
SET GLOBAL innodb_buffer_pool_size=@save_size
;
mysql-test/suite/innodb/t/innodb_buffer_pool_resize_bigtest.opt
View file @
af345b72
--innodb-buffer-pool-chunk-size=1M
--loose-skip-innodb-disable-resize_buffer_pool_debug
mysql-test/suite/innodb/t/innodb_buffer_pool_resize_bigtest.test
View file @
af345b72
--
source
include
/
have_innodb
.
inc
--
source
include
/
big_test
.
inc
--
let
$save_size
=
`SELECT @@GLOBAL.innodb_buffer_pool_size`
SET
@
save_size
=@@
innodb_buffer_pool_size
;
let
$wait_timeout
=
60
;
let
$wait_condition
=
...
...
@@ -9,10 +9,10 @@ let $wait_condition =
FROM
information_schema
.
global_status
WHERE
variable_name
=
'INNODB_BUFFER_POOL_RESIZE_STATUS'
;
--
echo
--
echo
MDEV
-
27891
:
Delayed
SIGSEGV
in
InnoDB
buffer
pool
resize
--
echo
after
or
during
DROP
TABLE
--
echo
--
echo
#
--
echo
#
MDEV-27891: Delayed SIGSEGV in InnoDB buffer pool resize
--
echo
#
after or during DROP TABLE
--
echo
#
select
@@
innodb_buffer_pool_chunk_size
;
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
...
...
@@ -22,7 +22,7 @@ DROP TABLE t1;
SET
GLOBAL
innodb_buffer_pool_size
=@@
innodb_buffer_pool_size
+
@@
innodb_buffer_pool_chunk_size
;
--
source
include
/
wait_condition
.
inc
--
echo
#
end of 10.6 test
--
echo
#
End of 10.6 tests
--
eval
set
global
innodb_buffer_pool_size
=
$
save_size
;
SET
GLOBAL
innodb_buffer_pool_size
=@
save_size
;
--
source
include
/
wait_condition
.
inc
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