Skip to content

Commit 5c02557

Browse files
author
Sergey Glukhov
committed
Merge branch 'mysql-5.6' into mysql-5.7
2 parents 207911b + 49bbf41 commit 5c02557

File tree

2 files changed

+4
-36
lines changed

2 files changed

+4
-36
lines changed

mysql-test/r/information_schema.result

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,23 +2191,6 @@ ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_
21912191
#
21922192
# Bug#26877788 SELECT FROM INFORMATION_SCHEMA.FILES RETURNS NO RECORDS WHEN ORDER BY IS USED
21932193
#
2194-
EXPLAIN SELECT ENGINE, SUPPORT, TRANSACTIONS FROM INFORMATION_SCHEMA.ENGINES
2195-
WHERE
2196-
SUPPORT IN (
2197-
SELECT DISTINCT SUPPORT
2198-
FROM INFORMATION_SCHEMA.ENGINES
2199-
WHERE
2200-
ENGINE IN (
2201-
SELECT DISTINCT ENGINE FROM INFORMATION_SCHEMA.ENGINES
2202-
WHERE ENGINE IN ('MEMORY')))
2203-
ORDER BY ENGINE;
2204-
id select_type table partitions type possible_keys key key_len ref rows filtered Extra
2205-
1 SIMPLE <subquery2> NULL ALL NULL NULL NULL NULL NULL 100.00 Using temporary; Using filesort
2206-
1 SIMPLE ENGINES NULL ALL NULL NULL NULL NULL NULL NULL Using where; Using join buffer (Block Nested Loop)
2207-
2 MATERIALIZED ENGINES NULL ALL NULL NULL NULL NULL NULL NULL Using where
2208-
2 MATERIALIZED ENGINES NULL ALL NULL NULL NULL NULL NULL NULL Using where; Using join buffer (Block Nested Loop)
2209-
Warnings:
2210-
Note 1003 /* select#1 */ select `information_schema`.`ENGINES`.`ENGINE` AS `ENGINE`,`information_schema`.`ENGINES`.`SUPPORT` AS `SUPPORT`,`information_schema`.`ENGINES`.`TRANSACTIONS` AS `TRANSACTIONS` from `INFORMATION_SCHEMA`.`ENGINES` semi join (`INFORMATION_SCHEMA`.`ENGINES` join `INFORMATION_SCHEMA`.`ENGINES`) where ((`information_schema`.`ENGINES`.`SUPPORT` = `<subquery2>`.`SUPPORT`) and (`information_schema`.`ENGINES`.`ENGINE` = `information_schema`.`ENGINES`.`ENGINE`) and (`information_schema`.`ENGINES`.`ENGINE` = 'MEMORY')) order by `information_schema`.`ENGINES`.`ENGINE`
22112194
SELECT ENGINE, SUPPORT, TRANSACTIONS FROM INFORMATION_SCHEMA.ENGINES
22122195
WHERE
22132196
SUPPORT IN (
@@ -2217,15 +2200,10 @@ WHERE
22172200
ENGINE IN (
22182201
SELECT DISTINCT ENGINE FROM INFORMATION_SCHEMA.ENGINES
22192202
WHERE ENGINE IN ('MEMORY')))
2220-
ORDER BY ENGINE;
2203+
ORDER BY ENGINE
2204+
LIMIT 1;
22212205
ENGINE SUPPORT TRANSACTIONS
22222206
ARCHIVE YES NO
2223-
BLACKHOLE YES NO
2224-
CSV YES NO
2225-
InnoDB YES YES
2226-
MEMORY YES NO
2227-
MRG_MYISAM YES NO
2228-
PERFORMANCE_SCHEMA YES NO
22292207
#
22302208
# End of 5.6 tests
22312209
#

mysql-test/t/information_schema.test

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,17 +1909,6 @@ CREATE PROCEDURE information_schema.is() BEGIN END;
19091909
--echo # Bug#26877788 SELECT FROM INFORMATION_SCHEMA.FILES RETURNS NO RECORDS WHEN ORDER BY IS USED
19101910
--echo #
19111911

1912-
EXPLAIN SELECT ENGINE, SUPPORT, TRANSACTIONS FROM INFORMATION_SCHEMA.ENGINES
1913-
WHERE
1914-
SUPPORT IN (
1915-
SELECT DISTINCT SUPPORT
1916-
FROM INFORMATION_SCHEMA.ENGINES
1917-
WHERE
1918-
ENGINE IN (
1919-
SELECT DISTINCT ENGINE FROM INFORMATION_SCHEMA.ENGINES
1920-
WHERE ENGINE IN ('MEMORY')))
1921-
ORDER BY ENGINE;
1922-
19231912
SELECT ENGINE, SUPPORT, TRANSACTIONS FROM INFORMATION_SCHEMA.ENGINES
19241913
WHERE
19251914
SUPPORT IN (
@@ -1929,7 +1918,8 @@ WHERE
19291918
ENGINE IN (
19301919
SELECT DISTINCT ENGINE FROM INFORMATION_SCHEMA.ENGINES
19311920
WHERE ENGINE IN ('MEMORY')))
1932-
ORDER BY ENGINE;
1921+
ORDER BY ENGINE
1922+
LIMIT 1;
19331923

19341924

19351925
--echo #

0 commit comments

Comments
 (0)