mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge
sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
@ -1624,3 +1624,11 @@ select 2 in (select * from t1);
|
||||
1
|
||||
SET SQL_SELECT_LIMIT=default;
|
||||
drop table t1;
|
||||
create table t1 (a int);
|
||||
insert into t1 values (1);
|
||||
explain select benchmark(1000, (select a from t1 where a=sha(rand())));
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
2 UNCACHEABLE SUBQUERY t1 system NULL NULL NULL NULL 1
|
||||
drop table t1;
|
||||
|
||||
|
@ -1066,3 +1066,10 @@ select 2 in (select * from t1);
|
||||
SET SQL_SELECT_LIMIT=default;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Static tables & rund() in subqueries
|
||||
#
|
||||
create table t1 (a int);
|
||||
insert into t1 values (1);
|
||||
explain select benchmark(1000, (select a from t1 where a=sha(rand())));
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user