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
13076bd3
Commit
13076bd3
authored
Feb 28, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid some failures WITH_MSAN
parent
cc1d9062
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
40 deletions
+49
-40
mysql-test/main/alter_table.result
mysql-test/main/alter_table.result
+0
-18
mysql-test/main/alter_table.test
mysql-test/main/alter_table.test
+0
-22
mysql-test/main/alter_table_lock.result
mysql-test/main/alter_table_lock.result
+19
-0
mysql-test/main/alter_table_lock.test
mysql-test/main/alter_table_lock.test
+25
-0
mysql-test/main/cte_recursive.test
mysql-test/main/cte_recursive.test
+3
-0
mysql-test/suite/innodb/t/redo_log_during_checkpoint.test
mysql-test/suite/innodb/t/redo_log_during_checkpoint.test
+2
-0
No files found.
mysql-test/main/alter_table.result
View file @
13076bd3
...
...
@@ -3415,23 +3415,5 @@ ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITH
delete from t1 where a = 11;
drop table t1;
#
# MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in
# Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
#
SET @max_session_mem_used_save= @@max_session_mem_used;
CREATE TABLE t1 (a INT);
SELECT * FROM t1;
a
ALTER TABLE x MODIFY xx INT;
ERROR 42S02: Table 'test.x' doesn't exist
SET SESSION max_session_mem_used= 8192;
LOCK TABLE t1 WRITE;
ALTER TABLE t1 CHANGE COLUMN IF EXISTS b c INT;
Warnings:
Note 1054 Unknown column 'b' in 't1'
SET SESSION max_session_mem_used = @max_session_mem_used_save;
UNLOCK TABLES;
DROP TABLE t1;
#
# End of 10.5 tests
#
mysql-test/main/alter_table.test
View file @
13076bd3
...
...
@@ -2661,28 +2661,6 @@ delete from t1 where a = 11;
# cleanup
drop
table
t1
;
--
echo
#
--
echo
# MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in
--
echo
# Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
--
echo
#
SET
@
max_session_mem_used_save
=
@@
max_session_mem_used
;
CREATE
TABLE
t1
(
a
INT
);
SELECT
*
FROM
t1
;
--
error
ER_NO_SUCH_TABLE
ALTER
TABLE
x
MODIFY
xx
INT
;
SET
SESSION
max_session_mem_used
=
8192
;
LOCK
TABLE
t1
WRITE
;
ALTER
TABLE
t1
CHANGE
COLUMN
IF
EXISTS
b
c
INT
;
SET
SESSION
max_session_mem_used
=
@
max_session_mem_used_save
;
UNLOCK
TABLES
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# End of 10.5 tests
--
echo
#
mysql-test/main/alter_table_lock.result
0 → 100644
View file @
13076bd3
#
# MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in
# Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
#
SET @max_session_mem_used_save= @@max_session_mem_used;
CREATE TABLE t1 (a INT);
SELECT * FROM t1;
a
ALTER TABLE x MODIFY xx INT;
ERROR 42S02: Table 'test.x' doesn't exist
SET SESSION max_session_mem_used= 8192;
LOCK TABLE t1 WRITE;
ALTER TABLE t1 CHANGE COLUMN IF EXISTS b c INT;
Warnings:
Note 1054 Unknown column 'b' in 't1'
SET SESSION max_session_mem_used = @max_session_mem_used_save;
UNLOCK TABLES;
DROP TABLE t1;
# End of 10.5 tests
mysql-test/main/alter_table_lock.test
0 → 100644
View file @
13076bd3
--
source
include
/
not_msan
.
inc
--
echo
#
--
echo
# MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in
--
echo
# Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
--
echo
#
SET
@
max_session_mem_used_save
=
@@
max_session_mem_used
;
CREATE
TABLE
t1
(
a
INT
);
SELECT
*
FROM
t1
;
--
error
ER_NO_SUCH_TABLE
ALTER
TABLE
x
MODIFY
xx
INT
;
SET
SESSION
max_session_mem_used
=
8192
;
LOCK
TABLE
t1
WRITE
;
ALTER
TABLE
t1
CHANGE
COLUMN
IF
EXISTS
b
c
INT
;
SET
SESSION
max_session_mem_used
=
@
max_session_mem_used_save
;
UNLOCK
TABLES
;
DROP
TABLE
t1
;
--
echo
# End of 10.5 tests
mysql-test/main/cte_recursive.test
View file @
13076bd3
--
source
include
/
default_optimizer_switch
.
inc
# This is too slow on MSAN
--
source
include
/
not_msan
.
inc
--
source
include
/
not_valgrind
.
inc
create
table
t1
(
a
int
,
b
varchar
(
32
));
insert
into
t1
values
...
...
mysql-test/suite/innodb/t/redo_log_during_checkpoint.test
View file @
13076bd3
...
...
@@ -6,6 +6,8 @@
# We are crashing the server on purpose
--
source
include
/
not_valgrind
.
inc
--
source
include
/
not_crashrep
.
inc
# This often fails under MSAN builder due timing differences
--
source
include
/
not_msan
.
inc
# The test does work with any page size, but we want to reduce the
# test running time by limiting the combinations. The redo log format
...
...
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