Warning 1287 The syntax '@@sql_max_join_size' is deprecated and will be removed in MySQL 7.0.
Warning 1287 '@@sql_max_join_size' is deprecated and will be removed in a future release.
SELECT * FROM t1 INNER JOIN t2 ON t1.a = t2.a;
SELECT * FROM t1 INNER JOIN t2 ON t1.a = t2.a;
ERROR 42000: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
ERROR 42000: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
Expected error The SELECT would examine more than MAX_JOIN_SIZE rows.
Expected error The SELECT would examine more than MAX_JOIN_SIZE rows.
...
@@ -33,7 +33,7 @@ aa4 bb aa4 bb
...
@@ -33,7 +33,7 @@ aa4 bb aa4 bb
This should work
This should work
SET SESSION sql_max_join_size=DEFAULT;
SET SESSION sql_max_join_size=DEFAULT;
Warnings:
Warnings:
Warning 1287 The syntax '@@sql_max_join_size' is deprecated and will be removed in MySQL 7.0.
Warning 1287 '@@sql_max_join_size' is deprecated and will be removed in a future release.