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
d7717b0d
Commit
d7717b0d
authored
Dec 03, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/psergey/mysql-4.0
parents
c7687865
9a37534f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/multi_update.result
mysql-test/r/multi_update.result
+2
-2
mysql-test/t/multi_update.test
mysql-test/t/multi_update.test
+2
-2
No files found.
mysql-test/r/multi_update.result
View file @
d7717b0d
...
...
@@ -336,7 +336,7 @@ alter table t1 add b char(8) not null;
alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2
like t1
;
create table t2
(c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c))
;
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
drop table t1,t2;
...
...
@@ -348,7 +348,7 @@ alter table t1 add b char(8) not null;
alter table t1 add a char(8) not null;
alter table t1 add primary key (a,b,c);
update t1 set a=c, b=c;
create table t2
like t1
;
create table t2
(c char(8) not null, b char(8) not null, a char(8) not null, primary key(a,b,c))
;
insert into t2 select * from t1;
delete t1,t2 from t2,t1 where t1.a<'B' and t2.b=t1.b;
set @@table_type=@ttype_save;
...
...
mysql-test/t/multi_update.test
View file @
d7717b0d
...
...
@@ -286,7 +286,7 @@ alter table t1 add a char(8) not null;
alter
table
t1
add
primary
key
(
a
,
b
,
c
);
update
t1
set
a
=
c
,
b
=
c
;
create
table
t2
like
t1
;
create
table
t2
(
c
char
(
8
)
not
null
,
b
char
(
8
)
not
null
,
a
char
(
8
)
not
null
,
primary
key
(
a
,
b
,
c
))
;
insert
into
t2
select
*
from
t1
;
delete
t1
,
t2
from
t2
,
t1
where
t1
.
a
<
'B'
and
t2
.
b
=
t1
.
b
;
...
...
@@ -306,7 +306,7 @@ alter table t1 add a char(8) not null;
alter
table
t1
add
primary
key
(
a
,
b
,
c
);
update
t1
set
a
=
c
,
b
=
c
;
create
table
t2
like
t1
;
create
table
t2
(
c
char
(
8
)
not
null
,
b
char
(
8
)
not
null
,
a
char
(
8
)
not
null
,
primary
key
(
a
,
b
,
c
))
;
insert
into
t2
select
*
from
t1
;
delete
t1
,
t2
from
t2
,
t1
where
t1
.
a
<
'B'
and
t2
.
b
=
t1
.
b
;
...
...
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