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
9f9bc834
Commit
9f9bc834
authored
Sep 28, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-4100
parents
68045dfd
e4074a67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
mysql-test/r/merge.result
mysql-test/r/merge.result
+6
-6
mysql-test/t/merge.test
mysql-test/t/merge.test
+4
-8
No files found.
mysql-test/r/merge.result
View file @
9f9bc834
...
...
@@ -652,30 +652,30 @@ create table t3 engine=merge union=(t1, t2) select * from t2;
ERROR HY000: You can't specify target table 't2' for update in FROM clause
drop table t1, t2;
create table t1 (
a double(1
6,6
),
a double(1
4,4
),
b varchar(10),
index (a,b)
) engine=merge union=(t2,t3);
create table t2 (
a double(1
6,6
),
a double(1
4,4
),
b varchar(10),
index (a,b)
) engine=myisam;
create table t3 (
a double(1
6,6
),
a double(1
4,4
),
b varchar(10),
index (a,b)
) engine=myisam;
insert into t2 values ( null, '');
insert into t2 values ( 9999999999.9999
99
, '');
insert into t2 values ( 9999999999.9999, '');
insert into t3 select * from t2;
select min(a), max(a) from t1;
min(a) max(a)
9999999999.9999
98 9999999999.999998
9999999999.9999
9999999999.9999
flush tables;
select min(a), max(a) from t1;
min(a) max(a)
9999999999.9999
98 9999999999.999998
9999999999.9999
9999999999.9999
drop table t1, t2, t3;
create table t1 (a int,b int,c int, index (a,b,c));
create table t2 (a int,b int,c int, index (a,b,c));
...
...
mysql-test/t/merge.test
View file @
9f9bc834
...
...
@@ -294,29 +294,25 @@ drop table t1, t2;
# non-debug build. But there is no guarantee that this will be always so.
#
create
table
t1
(
a
double
(
1
6
,
6
),
a
double
(
1
4
,
4
),
b
varchar
(
10
),
index
(
a
,
b
)
)
engine
=
merge
union
=
(
t2
,
t3
);
create
table
t2
(
a
double
(
1
6
,
6
),
a
double
(
1
4
,
4
),
b
varchar
(
10
),
index
(
a
,
b
)
)
engine
=
myisam
;
create
table
t3
(
a
double
(
1
6
,
6
),
a
double
(
1
4
,
4
),
b
varchar
(
10
),
index
(
a
,
b
)
)
engine
=
myisam
;
insert
into
t2
values
(
null
,
''
);
# We may have insufficient accuracy for 16 digits of '9'.
# Suppress a "truncate" warning due to accuracy problems.
--
disable_warnings
insert
into
t2
values
(
9999999999.999999
,
''
);
--
enable_warnings
insert
into
t2
values
(
9999999999.9999
,
''
);
insert
into
t3
select
*
from
t2
;
select
min
(
a
),
max
(
a
)
from
t1
;
flush
tables
;
...
...
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