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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cc6a3021
Commit
cc6a3021
authored
Dec 16, 2004
by
timour@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved drop table statement to the end.
parent
53a9af8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
mysql-test/r/update.result
mysql-test/r/update.result
+1
-0
mysql-test/t/update.test
mysql-test/t/update.test
+1
-1
No files found.
mysql-test/r/update.result
View file @
cc6a3021
...
...
@@ -209,3 +209,4 @@ create table t2 (c1 int, c2 char(6));
insert into t1 values (1, "t1c2-1", 10), (2, "t1c2-2", 20);
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1";
update t1 left join t2 on t1.c1 = t2.c1 set t2.c2 = "t2c2-1" where t1.c3 = 10;
drop table t1, t2;
mysql-test/t/update.test
View file @
cc6a3021
...
...
@@ -158,9 +158,9 @@ DROP TABLE t2;
#
# Bug #6054
#
drop
table
if
exists
t1
,
t2
;
create
table
t1
(
c1
int
,
c2
char
(
6
),
c3
int
);
create
table
t2
(
c1
int
,
c2
char
(
6
));
insert
into
t1
values
(
1
,
"t1c2-1"
,
10
),
(
2
,
"t1c2-2"
,
20
);
update
t1
left
join
t2
on
t1
.
c1
=
t2
.
c1
set
t2
.
c2
=
"t2c2-1"
;
update
t1
left
join
t2
on
t1
.
c1
=
t2
.
c1
set
t2
.
c2
=
"t2c2-1"
where
t1
.
c3
=
10
;
drop
table
t1
,
t2
;
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