mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
82174dae06
In particular: * @@debug deprecated since 5.5.37 * sr_YU locale deprecated since 10.0.11 * "engine_condition_pushdown" in the @@optimizer_switch deprecated since 10.1.1 * @@date_format, @@datetime_format, @@time_format, @@max_tmp_tables deprecated since 10.1.2 * @@wsrep_causal_reads deprecated since 10.1.3 * "parser" in mroonga table comment deprecated since 10.2.11
20 lines
570 B
Text
20 lines
570 B
Text
CREATE TABLE t1(id INT);
|
|
INSERT INTO t1 VALUES (1),(2),(3),(4);
|
|
INSERT INTO t1 SELECT a.id FROM t1 a,t1 b,t1 c,t1 d;
|
|
SET @orig_debug=@@debug_dbug;
|
|
SET GLOBAL debug_dbug="d,subselect_exec_fail";
|
|
SELECT SUM(EXISTS(SELECT RAND() FROM t1)) FROM t1;
|
|
SUM(EXISTS(SELECT RAND() FROM t1))
|
|
0
|
|
SELECT REVERSE(EXISTS(SELECT RAND() FROM t1));
|
|
REVERSE(EXISTS(SELECT RAND() FROM t1))
|
|
0
|
|
SET GLOBAL debug_dbug=@orig_debug;
|
|
DROP TABLE t1;
|
|
create table t1 (i int);
|
|
insert into t1 values (1),(2);
|
|
select * from t1 where (i < 200 or i = 300) and i in (select i from t1);
|
|
i
|
|
1
|
|
2
|
|
drop table t1;
|