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
6d21b6ac
Commit
6d21b6ac
authored
May 27, 2021
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated main.trigger-trans.test to make it more resiliant
parent
9c7a456a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
mysql-test/main/trigger-trans.result
mysql-test/main/trigger-trans.result
+3
-2
mysql-test/main/trigger-trans.test
mysql-test/main/trigger-trans.test
+8
-2
No files found.
mysql-test/main/trigger-trans.result
View file @
6d21b6ac
...
...
@@ -234,11 +234,12 @@ DROP TABLE t3, t2, t1;
# void MDL_context::release_lock(MDL_ticket*)
#
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
SET max_statement_time= 0.001;
LOCK TABLES t1 WRITE;
SET max_statement_time= 0.001;
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
DROP TABLE t1;
SET max_statement_time= default;
DROP TRIGGER IF EXISTS trg16;
DROP TABLE t1;
#
# End of 10.5 tests
#
mysql-test/main/trigger-trans.test
View file @
6d21b6ac
...
...
@@ -240,11 +240,17 @@ DROP TABLE t3, t2, t1;
--
echo
#
CREATE
TABLE
t1
(
id
int
(
11
))
ENGINE
=
InnoDB
;
SET
max_statement_time
=
0.001
;
LOCK
TABLES
t1
WRITE
;
SET
max_statement_time
=
0.001
;
--
error
0
,
1969
,
2013
--
disable_warnings
CREATE
TRIGGER
tr16
AFTER
UPDATE
ON
t1
FOR
EACH
ROW
INSERT
INTO
t1
VALUES
(
1
);
DROP
TABLE
t1
;
--
enable_warnings
SET
max_statement_time
=
default
;
--
disable_warnings
DROP
TRIGGER
IF
EXISTS
trg16
;
--
enable_warnings
DROP
TABLE
t1
;
--
echo
#
--
echo
# End of 10.5 tests
...
...
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