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
55227234
Commit
55227234
authored
Oct 19, 2022
by
Daniel Black
Committed by
GitHub
Oct 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-26872 perfschema.prepared_statements non-deterministic test failure (#2290)
Correct by ORDER BY in the output.
parent
6b8c43ba
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
31 deletions
+31
-31
mysql-test/suite/perfschema/r/prepared_statements.result
mysql-test/suite/perfschema/r/prepared_statements.result
+30
-30
mysql-test/suite/perfschema/t/prepared_statements.test
mysql-test/suite/perfschema/t/prepared_statements.test
+1
-1
No files found.
mysql-test/suite/perfschema/r/prepared_statements.result
View file @
55227234
This diff is collapsed.
Click to expand it.
mysql-test/suite/perfschema/t/prepared_statements.test
View file @
55227234
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
CREATE
DATABASE
db
;
CREATE
DATABASE
db
;
USE
db
;
USE
db
;
--
let
$psi_select
=
SELECT
STATEMENT_NAME
,
SQL_TEXT
,
COUNT_REPREPARE
,
COUNT_EXECUTE
,
SUM_ROWS_SENT
,
SUM_SELECT_SCAN
,
SUM_NO_INDEX_USED
FROM
performance_schema
.
prepared_statements_instances
--
let
$psi_select
=
SELECT
STATEMENT_NAME
,
SQL_TEXT
,
COUNT_REPREPARE
,
COUNT_EXECUTE
,
SUM_ROWS_SENT
,
SUM_SELECT_SCAN
,
SUM_NO_INDEX_USED
FROM
performance_schema
.
prepared_statements_instances
ORDER
BY
STATEMENT_NAME
,
SQL_TEXT
--
let
$psi_truncate
=
TRUNCATE
TABLE
performance_schema
.
prepared_statements_instances
--
let
$psi_truncate
=
TRUNCATE
TABLE
performance_schema
.
prepared_statements_instances
--
let
$eshl_select
=
SELECT
EVENT_NAME
,
SQL_TEXT
,
OBJECT_TYPE
,
OBJECT_SCHEMA
,
OBJECT_NAME
FROM
performance_schema
.
events_statements_history_long
WHERE
CURRENT_SCHEMA
=
'db'
--
let
$eshl_select
=
SELECT
EVENT_NAME
,
SQL_TEXT
,
OBJECT_TYPE
,
OBJECT_SCHEMA
,
OBJECT_NAME
FROM
performance_schema
.
events_statements_history_long
WHERE
CURRENT_SCHEMA
=
'db'
--
let
$eshl_truncate
=
TRUNCATE
TABLE
performance_schema
.
events_statements_history_long
--
let
$eshl_truncate
=
TRUNCATE
TABLE
performance_schema
.
events_statements_history_long
...
...
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