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
06dd151b
Commit
06dd151b
authored
Jun 02, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
3dd91241
8426c741
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
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
sql/sql_admin.cc
sql/sql_admin.cc
+1
-0
storage/innobase/buf/buf0buf.cc
storage/innobase/buf/buf0buf.cc
+1
-1
No files found.
mysql-test/main/trigger-trans.result
View file @
06dd151b
...
@@ -234,11 +234,12 @@ DROP TABLE t3, t2, t1;
...
@@ -234,11 +234,12 @@ DROP TABLE t3, t2, t1;
# void MDL_context::release_lock(MDL_ticket*)
# void MDL_context::release_lock(MDL_ticket*)
#
#
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
SET max_statement_time= 0.001;
LOCK TABLES t1 WRITE;
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);
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
DROP TABLE t1;
SET max_statement_time= default;
SET max_statement_time= default;
DROP TRIGGER IF EXISTS trg16;
DROP TABLE t1;
#
#
# End of 10.5 tests
# End of 10.5 tests
#
#
mysql-test/main/trigger-trans.test
View file @
06dd151b
...
@@ -240,11 +240,17 @@ DROP TABLE t3, t2, t1;
...
@@ -240,11 +240,17 @@ DROP TABLE t3, t2, t1;
--
echo
#
--
echo
#
CREATE
TABLE
t1
(
id
int
(
11
))
ENGINE
=
InnoDB
;
CREATE
TABLE
t1
(
id
int
(
11
))
ENGINE
=
InnoDB
;
SET
max_statement_time
=
0.001
;
LOCK
TABLES
t1
WRITE
;
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
);
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
;
SET
max_statement_time
=
default
;
--
disable_warnings
DROP
TRIGGER
IF
EXISTS
trg16
;
--
enable_warnings
DROP
TABLE
t1
;
--
echo
#
--
echo
#
--
echo
# End of 10.5 tests
--
echo
# End of 10.5 tests
...
...
sql/sql_admin.cc
View file @
06dd151b
...
@@ -605,6 +605,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -605,6 +605,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
if
(
thd
->
check_killed
())
if
(
thd
->
check_killed
())
{
{
open_error
=
false
;
fatal_error
=
true
;
fatal_error
=
true
;
result_code
=
HA_ADMIN_FAILED
;
result_code
=
HA_ADMIN_FAILED
;
goto
send_result
;
goto
send_result
;
...
...
storage/innobase/buf/buf0buf.cc
View file @
06dd151b
...
@@ -824,7 +824,7 @@ buf_madvise_do_dump()
...
@@ -824,7 +824,7 @@ buf_madvise_do_dump()
ret
+=
madvise
(
chunk
->
mem
,
chunk
->
mem_size
(),
MADV_DODUMP
);
ret
+=
madvise
(
chunk
->
mem
,
chunk
->
mem_size
(),
MADV_DODUMP
);
}
}
mysql_mutex_lock
(
&
buf_pool
.
mutex
);
mysql_mutex_
un
lock
(
&
buf_pool
.
mutex
);
return
ret
;
return
ret
;
}
}
#endif
#endif
...
...
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