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
e04b5eaa
Commit
e04b5eaa
authored
Feb 25, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
83212632
97ed3dd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
24 deletions
+23
-24
mysql-test/suite/perfschema/r/dml_file_instances.result
mysql-test/suite/perfschema/r/dml_file_instances.result
+12
-12
mysql-test/suite/perfschema/t/dml_file_instances.test
mysql-test/suite/perfschema/t/dml_file_instances.test
+11
-11
mysys/crc32/crc32c.cc
mysys/crc32/crc32c.cc
+0
-1
No files found.
mysql-test/suite/perfschema/r/dml_file_instances.result
View file @
e04b5eaa
...
...
@@ -34,57 +34,57 @@ OPEN_COUNT Open handles on the file. A value of greater than zero means that the
###
CREATE DATABASE db_26152751;
USE db_26152751;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
CREATE TABLE t_db_26152751 (a INT) ENGINE=MYISAM;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.MYD
t_db_26152751.MYI
t_db_26152751.frm
RENAME TABLE t_db_26152751 to t_db_26152751_new;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751_new.MYD
t_db_26152751_new.MYI
t_db_26152751_new.frm
RENAME TABLE t_db_26152751_new to t_db_26152751;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.MYD
t_db_26152751.MYI
t_db_26152751.frm
ALTER TABLE t_db_26152751 ADD COLUMN b INT;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.frm
t_db_26152751.MYI
t_db_26152751.MYD
t_db_26152751.MYI
DROP TABLE t_db_26152751;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
CREATE TABLE t_db_26152751 (a INT) ENGINE=INNODB;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.frm
t_db_26152751.ibd
RENAME TABLE t_db_26152751 to t_db_26152751_new;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751_new.frm
t_db_26152751_new.ibd
RENAME TABLE t_db_26152751_new to t_db_26152751;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.frm
t_db_26152751.ibd
ALTER TABLE t_db_26152751 ADD COLUMN b INT;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
t_db_26152751.frm
t_db_26152751.ibd
DROP TABLE t_db_26152751;
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%";
SELECT FILE_NAME FROM performance_schema.file_instances WHERE FILE_NAME LIKE "%t_db_26152751%"
ORDER BY FILE_NAME
;
FILE_NAME
DROP DATABASE db_26152751;
#
...
...
mysql-test/suite/perfschema/t/dml_file_instances.test
View file @
e04b5eaa
...
...
@@ -49,58 +49,58 @@ where table_schema='performance_schema' and table_name='file_instances';
CREATE
DATABASE
db_26152751
;
USE
db_26152751
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
CREATE
TABLE
t_db_26152751
(
a
INT
)
ENGINE
=
MYISAM
;
--
sorted_result
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
RENAME
TABLE
t_db_26152751
to
t_db_26152751_new
;
--
sorted_result
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
RENAME
TABLE
t_db_26152751_new
to
t_db_26152751
;
--
sorted_result
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
ALTER
TABLE
t_db_26152751
ADD
COLUMN
b
INT
;
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
DROP
TABLE
t_db_26152751
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
CREATE
TABLE
t_db_26152751
(
a
INT
)
ENGINE
=
INNODB
;
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
RENAME
TABLE
t_db_26152751
to
t_db_26152751_new
;
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
RENAME
TABLE
t_db_26152751_new
to
t_db_26152751
;
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
ALTER
TABLE
t_db_26152751
ADD
COLUMN
b
INT
;
--
replace_regex
/.*
\
/
t_db_26152751
/
t_db_26152751
/
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
DROP
TABLE
t_db_26152751
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
;
SELECT
FILE_NAME
FROM
performance_schema
.
file_instances
WHERE
FILE_NAME
LIKE
"%t_db_26152751%"
ORDER
BY
FILE_NAME
;
DROP
DATABASE
db_26152751
;
...
...
mysys/crc32/crc32c.cc
View file @
e04b5eaa
...
...
@@ -18,7 +18,6 @@
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <my_global.h>
#include <my_byteorder.h>
static
inline
uint32_t
DecodeFixed32
(
const
char
*
ptr
)
...
...
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