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
00d09aae
Commit
00d09aae
authored
Aug 10, 2023
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '11.0' into 11.1
parents
ff010fdd
f8af7c6f
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
153 additions
and
119 deletions
+153
-119
mysql-test/main/sp.result
mysql-test/main/sp.result
+12
-0
mysql-test/main/sp.test
mysql-test/main/sp.test
+16
-0
mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff
...t/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff
+125
-116
sql/sp_head.cc
sql/sp_head.cc
+0
-3
No files found.
mysql-test/main/sp.result
View file @
00d09aae
...
...
@@ -8965,6 +8965,18 @@ select @counter;
5
drop function f1;
drop table t1,t2;
#
# MDEV-31877: ASAN errors in Exec_time_tracker::get_cycles with innodb slow log verbosity
#
CREATE TABLE t1 (a INT, b INT);
INSERT INTO t1 VALUES (1,2);
SET @tmp=@@log_slow_verbosity;
SET SESSION log_slow_verbosity= 'innodb';
BEGIN NOT ATOMIC DECLARE r ROW TYPE OF t1 DEFAULT (SELECT * FROM t1); SELECT r.a; END $
r.a
1
SET SESSION log_slow_verbosity= @tmp;
DROP TABLE t1;
#
# MDEV-28129: MariaDB UAF issue at lex_end_nops(LEX*)
#
...
...
mysql-test/main/sp.test
View file @
00d09aae
...
...
@@ -10574,6 +10574,22 @@ select @counter;
drop
function
f1
;
drop
table
t1
,
t2
;
--
echo
#
--
echo
# MDEV-31877: ASAN errors in Exec_time_tracker::get_cycles with innodb slow log verbosity
--
echo
#
CREATE
TABLE
t1
(
a
INT
,
b
INT
);
INSERT
INTO
t1
VALUES
(
1
,
2
);
SET
@
tmp
=@@
log_slow_verbosity
;
SET
SESSION
log_slow_verbosity
=
'innodb'
;
--
delimiter
$
BEGIN
NOT
ATOMIC
DECLARE
r
ROW
TYPE
OF
t1
DEFAULT
(
SELECT
*
FROM
t1
);
SELECT
r
.
a
;
END
$
--
delimiter
;
SET
SESSION
log_slow_verbosity
=
@
tmp
;
# Cleanup
DROP
TABLE
t1
;
--
echo
#
--
echo
# MDEV-28129: MariaDB UAF issue at lex_end_nops(LEX*)
--
echo
#
...
...
mysql-test/suite/sys_vars/r/sysvars_server_notembedded,32bit.rdiff
View file @
00d09aae
This diff is collapsed.
Click to expand it.
sql/sp_head.cc
View file @
00d09aae
...
...
@@ -3885,7 +3885,6 @@ int
sp_instr_set
::
exec_core
(
THD
*
thd
,
uint
*
nextp
)
{
int
res
=
get_rcontext
(
thd
)
->
set_variable
(
thd
,
m_offset
,
&
m_value
);
delete_explain_query
(
thd
->
lex
);
*
nextp
=
m_ip
+
1
;
return
res
;
}
...
...
@@ -3927,7 +3926,6 @@ sp_instr_set_row_field::exec_core(THD *thd, uint *nextp)
int
res
=
get_rcontext
(
thd
)
->
set_variable_row_field
(
thd
,
m_offset
,
m_field_offset
,
&
m_value
);
delete_explain_query
(
thd
->
lex
);
*
nextp
=
m_ip
+
1
;
return
res
;
}
...
...
@@ -3975,7 +3973,6 @@ sp_instr_set_row_field_by_name::exec_core(THD *thd, uint *nextp)
int
res
=
get_rcontext
(
thd
)
->
set_variable_row_field_by_name
(
thd
,
m_offset
,
m_field_name
,
&
m_value
);
delete_explain_query
(
thd
->
lex
);
*
nextp
=
m_ip
+
1
;
return
res
;
}
...
...
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