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
02d3cf19
Commit
02d3cf19
authored
Sep 06, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
38f462ae
7ac525fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
.bzrignore
.bzrignore
+1
-0
mysql-test/r/union.result
mysql-test/r/union.result
+1
-0
mysql-test/t/union.test
mysql-test/t/union.test
+1
-0
No files found.
.bzrignore
View file @
02d3cf19
...
@@ -545,3 +545,4 @@ vio/test-sslserver
...
@@ -545,3 +545,4 @@ vio/test-sslserver
vio/viotest-ssl
vio/viotest-ssl
scripts/make_win_binary_distribution
scripts/make_win_binary_distribution
EXCEPTIONS-CLIENT
EXCEPTIONS-CLIENT
support-files/my-innodb-heavy-4G.cnf
mysql-test/r/union.result
View file @
02d3cf19
...
@@ -419,6 +419,7 @@ a
...
@@ -419,6 +419,7 @@ a
(SELECT * FROM t1) UNION all (SELECT SQL_CALC_FOUND_ROWS * FROM t2) LIMIT 1;
(SELECT * FROM t1) UNION all (SELECT SQL_CALC_FOUND_ROWS * FROM t2) LIMIT 1;
Wrong usage/placement of 'SQL_CALC_FOUND_ROWS'
Wrong usage/placement of 'SQL_CALC_FOUND_ROWS'
create temporary table t1 select a from t1 union select a from t2;
create temporary table t1 select a from t1 union select a from t2;
drop table t1;
create table t1 select a from t1 union select a from t2;
create table t1 select a from t1 union select a from t2;
INSERT TABLE 't1' isn't allowed in FROM table list
INSERT TABLE 't1' isn't allowed in FROM table list
select a from t1 union select a from t2 order by t2.a;
select a from t1 union select a from t2 order by t2.a;
...
...
mysql-test/t/union.test
View file @
02d3cf19
...
@@ -224,6 +224,7 @@ SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a desc LIMIT 1;
...
@@ -224,6 +224,7 @@ SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a desc LIMIT 1;
(
SELECT
*
FROM
t1
)
UNION
all
(
SELECT
SQL_CALC_FOUND_ROWS
*
FROM
t2
)
LIMIT
1
;
(
SELECT
*
FROM
t1
)
UNION
all
(
SELECT
SQL_CALC_FOUND_ROWS
*
FROM
t2
)
LIMIT
1
;
create
temporary
table
t1
select
a
from
t1
union
select
a
from
t2
;
create
temporary
table
t1
select
a
from
t1
union
select
a
from
t2
;
drop
table
t1
;
--
error
1093
--
error
1093
create
table
t1
select
a
from
t1
union
select
a
from
t2
;
create
table
t1
select
a
from
t1
union
select
a
from
t2
;
--
error
1054
--
error
1054
...
...
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