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
64d6cbe5
Commit
64d6cbe5
authored
Sep 15, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed duplicate test
parent
ef2a4f11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
54 deletions
+0
-54
mysql-test/r/subselect4.result
mysql-test/r/subselect4.result
+0
-25
mysql-test/t/subselect4.test
mysql-test/t/subselect4.test
+0
-29
No files found.
mysql-test/r/subselect4.result
View file @
64d6cbe5
...
@@ -273,31 +273,6 @@ set @@session.optimizer_switch = @old_optimizer_switch,
...
@@ -273,31 +273,6 @@ set @@session.optimizer_switch = @old_optimizer_switch,
@@session.engine_condition_pushdown = @old_engine_condition_pushdown;
@@session.engine_condition_pushdown = @old_engine_condition_pushdown;
DROP TABLE t1;
DROP TABLE t1;
#
#
# BUG#45863 "Assertion failed: (fixed == 0), function fix_fields(),
# file item.cc, line 4448"
#
DROP TABLE IF EXISTS C, BB;
CREATE TABLE C (
varchar_nokey varchar(1) NOT NULL
);
INSERT INTO C VALUES
('k'),('a'),(''),('u'),('e'),('v'),('i'),
('t'),('u'),('f'),('u'),('m'),('j'),('f'),
('v'),('j'),('g'),('e'),('h'),('z');
CREATE TABLE BB (
varchar_nokey varchar(1) NOT NULL
);
INSERT INTO BB VALUES ('i'),('t');
SELECT varchar_nokey FROM C
WHERE (varchar_nokey, OUTR) IN (SELECT varchar_nokey
FROM BB);
ERROR 21000: Operand should contain 2 column(s)
SELECT varchar_nokey FROM C
WHERE (varchar_nokey, OUTR) IN (SELECT varchar_nokey, varchar_nokey
FROM BB);
ERROR 42S22: Unknown column 'OUTR' in 'IN/ALL/ANY subquery'
DROP TABLE C,BB;
#
# During work with BUG#45863 I had problems with a query that was
# During work with BUG#45863 I had problems with a query that was
# optimized differently in regular and prepared mode.
# optimized differently in regular and prepared mode.
# Because there was a bug in one of the selected strategies, I became
# Because there was a bug in one of the selected strategies, I became
...
...
mysql-test/t/subselect4.test
View file @
64d6cbe5
...
@@ -237,35 +237,6 @@ set @@session.optimizer_switch = @old_optimizer_switch,
...
@@ -237,35 +237,6 @@ set @@session.optimizer_switch = @old_optimizer_switch,
DROP
TABLE
t1
;
DROP
TABLE
t1
;
--
echo
#
--
echo
# BUG#45863 "Assertion failed: (fixed == 0), function fix_fields(),
--
echo
# file item.cc, line 4448"
--
echo
#
--
disable_warnings
DROP
TABLE
IF
EXISTS
C
,
BB
;
--
enable_warnings
CREATE
TABLE
C
(
varchar_nokey
varchar
(
1
)
NOT
NULL
);
INSERT
INTO
C
VALUES
(
'k'
),(
'a'
),(
''
),(
'u'
),(
'e'
),(
'v'
),(
'i'
),
(
't'
),(
'u'
),(
'f'
),(
'u'
),(
'm'
),(
'j'
),(
'f'
),
(
'v'
),(
'j'
),(
'g'
),(
'e'
),(
'h'
),(
'z'
);
CREATE
TABLE
BB
(
varchar_nokey
varchar
(
1
)
NOT
NULL
);
INSERT
INTO
BB
VALUES
(
'i'
),(
't'
);
--
error
ER_OPERAND_COLUMNS
SELECT
varchar_nokey
FROM
C
WHERE
(
varchar_nokey
,
OUTR
)
IN
(
SELECT
varchar_nokey
FROM
BB
);
--
error
ER_BAD_FIELD_ERROR
SELECT
varchar_nokey
FROM
C
WHERE
(
varchar_nokey
,
OUTR
)
IN
(
SELECT
varchar_nokey
,
varchar_nokey
FROM
BB
);
DROP
TABLE
C
,
BB
;
--
echo
#
--
echo
#
--
echo
# During work with BUG#45863 I had problems with a query that was
--
echo
# During work with BUG#45863 I had problems with a query that was
--
echo
# optimized differently in regular and prepared mode.
--
echo
# optimized differently in regular and prepared mode.
...
...
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