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
07f4a4a6
Commit
07f4a4a6
authored
Mar 01, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
edb311ae
a710016d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
12 deletions
+17
-12
mysql-test/include/have_crypt.inc
mysql-test/include/have_crypt.inc
+2
-0
mysql-test/main/backup_locks.result
mysql-test/main/backup_locks.result
+4
-4
mysql-test/main/backup_locks.test
mysql-test/main/backup_locks.test
+4
-4
mysql-test/main/func_crypt.test
mysql-test/main/func_crypt.test
+0
-2
storage/innobase/include/buf0buf.h
storage/innobase/include/buf0buf.h
+7
-2
No files found.
mysql-test/include/have_crypt.inc
View file @
07f4a4a6
# MDEV-27964 The function ENCRYPT() causes SIGSEGV in WITH_MSAN builds
--
source
include
/
not_msan
.
inc
# encrypt('a') is NULL if crypt(3) is not available
# encrypt('a') is "*0" in fips mode
if
(
`select length(encrypt('a')) > 3 IS NOT TRUE`
)
{
...
...
mysql-test/main/backup_locks.result
View file @
07f4a4a6
...
...
@@ -2,19 +2,19 @@
# Test lock taken
#
BACKUP LOCK test.t1;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info
where table_name not like "innodb_%"
;
LOCK_MODE LOCK_TYPE TABLE_SCHEMA TABLE_NAME
MDL_SHARED_HIGH_PRIO Table metadata lock test t1
BACKUP UNLOCK;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info
where table_name not like "innodb_%"
;
LOCK_MODE LOCK_TYPE TABLE_SCHEMA TABLE_NAME
BACKUP LOCK t1;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info
where table_name not like "innodb_%"
;
LOCK_MODE LOCK_TYPE TABLE_SCHEMA TABLE_NAME
MDL_SHARED_HIGH_PRIO Table metadata lock test t1
BACKUP UNLOCK;
BACKUP LOCK non_existing.t1;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info;
SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info
where table_name not like "innodb_%"
;
LOCK_MODE LOCK_TYPE TABLE_SCHEMA TABLE_NAME
MDL_SHARED_HIGH_PRIO Table metadata lock non_existing t1
BACKUP UNLOCK;
...
...
mysql-test/main/backup_locks.test
View file @
07f4a4a6
...
...
@@ -11,14 +11,14 @@
--
echo
#
BACKUP
LOCK
test
.
t1
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
where
table_name
not
like
"innodb_%"
;
BACKUP
UNLOCK
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
where
table_name
not
like
"innodb_%"
;
BACKUP
LOCK
t1
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
where
table_name
not
like
"innodb_%"
;
BACKUP
UNLOCK
;
BACKUP
LOCK
non_existing
.
t1
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
;
SELECT
LOCK_MODE
,
LOCK_TYPE
,
TABLE_SCHEMA
,
TABLE_NAME
FROM
information_schema
.
metadata_lock_info
where
table_name
not
like
"innodb_%"
;
BACKUP
UNLOCK
;
--
echo
#
...
...
mysql-test/main/func_crypt.test
View file @
07f4a4a6
--
source
include
/
have_crypt
.
inc
# MDEV-27964 The function ENCRYPT() causes SIGSEGV in WITH_MSAN builds
--
source
include
/
not_msan
.
inc
--
disable_warnings
drop
table
if
exists
t1
;
...
...
storage/innobase/include/buf0buf.h
View file @
07f4a4a6
...
...
@@ -1882,9 +1882,14 @@ class buf_pool_t
buf_tmp_buffer_t
*
io_buf_reserve
()
{
return
io_buf
.
reserve
();
}
/** @return whether any I/O is pending */
bool
any_io_pending
()
const
bool
any_io_pending
()
{
return
n_pend_reads
||
n_flush_LRU
()
||
n_flush_list
();
if
(
n_pend_reads
)
return
true
;
mysql_mutex_lock
(
&
mutex
);
const
bool
any_pending
{
n_flush_LRU_
||
n_flush_list_
};
mysql_mutex_unlock
(
&
mutex
);
return
any_pending
;
}
/** @return total amount of pending I/O */
ulint
io_pending
()
const
...
...
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