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
3bcda8ad
Commit
3bcda8ad
authored
Jul 22, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17005: Re-enable existing tests for non-debug server
parent
60c790d6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
43 deletions
+45
-43
mysql-test/suite/innodb/r/innodb-virtual-columns-debug.result
...l-test/suite/innodb/r/innodb-virtual-columns-debug.result
+18
-0
mysql-test/suite/innodb/r/innodb-virtual-columns.result
mysql-test/suite/innodb/r/innodb-virtual-columns.result
+0
-18
mysql-test/suite/innodb/t/innodb-virtual-columns-debug.test
mysql-test/suite/innodb/t/innodb-virtual-columns-debug.test
+27
-0
mysql-test/suite/innodb/t/innodb-virtual-columns.test
mysql-test/suite/innodb/t/innodb-virtual-columns.test
+0
-25
No files found.
mysql-test/suite/innodb/r/innodb-virtual-columns-debug.result
0 → 100644
View file @
3bcda8ad
CREATE TABLE t1 (a INT, b INT AS (a), KEY(b)) ENGINE=InnoDB;
INSERT INTO t1 () VALUES (),();
connect con1,localhost,root,,test;
ALTER TABLE t1 ADD COLUMN x INT as (a), add key(x), ALGORITHM=COPY;
SET debug_sync= "ib_open_after_dict_open SIGNAL delete_open WAIT_FOR another_open";
DELETE FROM t1;
connection default;
SET debug_sync= "now WAIT_FOR delete_open";
SET debug_sync= "ib_open_after_dict_open SIGNAL another_open";
SELECT a FROM t1;
a
NULL
NULL
connection con1;
disconnect con1;
connection default;
SET debug_sync= "RESET";
DROP TABLE t1;
mysql-test/suite/innodb/r/innodb-virtual-columns.result
View file @
3bcda8ad
...
...
@@ -345,21 +345,3 @@ SELECT * FROM t1;
a b c
1 foo 1
DROP TABLE t1;
CREATE TABLE t1 (a INT, b INT AS (a), KEY(b)) ENGINE=InnoDB;
INSERT INTO t1 () VALUES (),();
connect con1,localhost,root,,test;
ALTER TABLE t1 ADD COLUMN x INT as (a), add key(x), ALGORITHM=COPY;
SET debug_sync= "ib_open_after_dict_open SIGNAL delete_open WAIT_FOR another_open";
DELETE FROM t1;
connection default;
SET debug_sync= "now WAIT_FOR delete_open";
SET debug_sync= "ib_open_after_dict_open SIGNAL another_open";
SELECT a FROM t1;
a
NULL
NULL
connection con1;
disconnect con1;
connection default;
SET debug_sync= "RESET";
DROP TABLE t1;
mysql-test/suite/innodb/t/innodb-virtual-columns-debug.test
0 → 100644
View file @
3bcda8ad
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug_sync
.
inc
#
# MDEV-17005 ASAN heap-use-after-free in innobase_get_computed_value
#
CREATE
TABLE
t1
(
a
INT
,
b
INT
AS
(
a
),
KEY
(
b
))
ENGINE
=
InnoDB
;
INSERT
INTO
t1
()
VALUES
(),();
--
connect
(
con1
,
localhost
,
root
,,
test
)
ALTER
TABLE
t1
ADD
COLUMN
x
INT
as
(
a
),
add
key
(
x
),
ALGORITHM
=
COPY
;
SET
debug_sync
=
"ib_open_after_dict_open SIGNAL delete_open WAIT_FOR another_open"
;
--
send
DELETE
FROM
t1
;
--
connection
default
SET
debug_sync
=
"now WAIT_FOR delete_open"
;
SET
debug_sync
=
"ib_open_after_dict_open SIGNAL another_open"
;
SELECT
a
FROM
t1
;
--
connection
con1
--
reap
# Cleanup
--
disconnect
con1
--
connection
default
SET
debug_sync
=
"RESET"
;
DROP
TABLE
t1
;
mysql-test/suite/innodb/t/innodb-virtual-columns.test
View file @
3bcda8ad
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug_sync
.
inc
#
# MDEV-7367: Updating a virtual column corrupts table which crashes server
...
...
@@ -318,27 +317,3 @@ INSERT INTO t1 (a,b) VALUES (1,'foo');
ALTER
TABLE
t1
ADD
FULLTEXT
KEY
(
b
);
SELECT
*
FROM
t1
;
DROP
TABLE
t1
;
#
# MDEV-17005 ASAN heap-use-after-free in innobase_get_computed_value
#
CREATE
TABLE
t1
(
a
INT
,
b
INT
AS
(
a
),
KEY
(
b
))
ENGINE
=
InnoDB
;
INSERT
INTO
t1
()
VALUES
(),();
--
connect
(
con1
,
localhost
,
root
,,
test
)
ALTER
TABLE
t1
ADD
COLUMN
x
INT
as
(
a
),
add
key
(
x
),
ALGORITHM
=
COPY
;
SET
debug_sync
=
"ib_open_after_dict_open SIGNAL delete_open WAIT_FOR another_open"
;
--
send
DELETE
FROM
t1
;
--
connection
default
SET
debug_sync
=
"now WAIT_FOR delete_open"
;
SET
debug_sync
=
"ib_open_after_dict_open SIGNAL another_open"
;
SELECT
a
FROM
t1
;
--
connection
con1
--
reap
# Cleanup
--
disconnect
con1
--
connection
default
SET
debug_sync
=
"RESET"
;
DROP
TABLE
t1
;
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