mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Test of optimize table.
Docs/manual.texi: Updated changelog. Update info about MERGE tables. Moved section 'Why so many open tables' mysql-test/r/create.result: Added test of types in CREATE mysql-test/t/create.test: Added test of types in CREATE sql/item_func.cc: More different values for RAND(nr) and RAND(nr+1)
This commit is contained in:
@@ -65,3 +65,13 @@ create table t2 (key (b)) select * from t1;
|
||||
explain select * from t2 where b="world";
|
||||
select * from t2 where b="world";
|
||||
drop table t1,t2;
|
||||
|
||||
#
|
||||
# Test types after CREATE ... SELECT
|
||||
#
|
||||
|
||||
create table t1(x varchar(50) );
|
||||
create table t2 select x from t1 where 1=2;
|
||||
describe t1;
|
||||
describe t2;
|
||||
drop table t1,t2;
|
||||
|
||||
Reference in New Issue
Block a user