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
9bc25d98
Commit
9bc25d98
authored
Aug 17, 2023
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update results for ps2 mode
don't use ps2 mode for selects with side effects
parent
22d3ab5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
mysql-test/include/delete_use_source_cases.inc
mysql-test/include/delete_use_source_cases.inc
+2
-0
mysql-test/include/delete_use_source_cases_memory.inc
mysql-test/include/delete_use_source_cases_memory.inc
+2
-0
mysql-test/main/update.test
mysql-test/main/update.test
+2
-0
No files found.
mysql-test/include/delete_use_source_cases.inc
View file @
9bc25d98
...
...
@@ -156,10 +156,12 @@ delimiter ;//
set
@
a
:=
7
;
create
table
tmp
as
select
*
from
t1
where
c3
<
@
a
order
by
c3
limit
1
;
--
disable_ps2_protocol
# because SELECT with side effects
select
f1
(
@
a
);
insert
into
tmp
(
c1
,
c2
,
c3
)
select
*
from
t1
where
c3
<
@
a
order
by
c3
limit
1
;
select
f1
(
@
a
);
--
enable_ps2_protocol
--
sorted_result
select
*
from
t1
;
insert
into
t1
(
c1
,
c2
,
c3
)
select
c1
,
c2
,
c3
from
tmp
;
...
...
mysql-test/include/delete_use_source_cases_memory.inc
View file @
9bc25d98
...
...
@@ -195,10 +195,12 @@ delimiter ;//
set
@
a
:=
7
;
create
table
tmp
as
select
*
from
t1
where
c3
<
@
a
order
by
c3
limit
1
;
--
disable_ps2_protocol
# because SELECT with side effects
select
f1
(
@
a
);
insert
into
tmp
(
c1
,
c2
,
c3
)
select
*
from
t1
where
c3
<
@
a
order
by
c3
limit
1
;
select
f1
(
@
a
);
--
enable_ps2_protocol
--
sorted_result
select
*
from
t1
;
insert
into
t1
(
c1
,
c2
,
c3
)
select
c1
,
c2
,
c3
from
tmp
;
...
...
mysql-test/main/update.test
View file @
9bc25d98
...
...
@@ -708,6 +708,7 @@ drop table t1;
--
echo
# MDEV-29189: Second execution of SF using UPDATE?DELETE
--
echo
# after reported error by the first execution
--
echo
#
--
disable_ps2_protocol
# because SELECT with side effects
CREATE
TABLE
t1
(
c
int
);
...
...
@@ -739,5 +740,6 @@ SELECT * FROM t1;
DROP
FUNCTION
f1
;
DROP
FUNCTION
f2
;
DROP
TABLE
t1
;
--
enable_ps2_protocol
--
echo
# End of MariaDB 10.10 tests
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