mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
More updates for using NDB as default and some bug fixes along the way
This commit is contained in:
@ -24,15 +24,15 @@ drop table if exists t1,t2;
|
||||
create table t1(f int);
|
||||
create table t2(f int);
|
||||
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
|
||||
create temporary table t3(f int);
|
||||
create temporary table t3(f int)ENGINE=MyISAM;
|
||||
insert into t3 select * from t1 where f<6;
|
||||
create temporary table t3(f int);
|
||||
create temporary table t3(f int)ENGINE=MyISAM;
|
||||
insert into t2 select count(*) from t3;
|
||||
insert into t3 select * from t1 where f>=4;
|
||||
drop temporary table t3;
|
||||
insert into t2 select count(*) from t3;
|
||||
drop temporary table t3;
|
||||
select * from t2;
|
||||
select * from t2 ORDER BY f;
|
||||
f
|
||||
5
|
||||
7
|
||||
@ -46,13 +46,13 @@ SET TIMESTAMP=1040323938;
|
||||
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
|
||||
SET TIMESTAMP=1040323945;
|
||||
SET @@session.pseudo_thread_id=1;
|
||||
create temporary table t3(f int);
|
||||
create temporary table t3(f int)ENGINE=MyISAM;
|
||||
SET TIMESTAMP=1040323952;
|
||||
SET @@session.pseudo_thread_id=1;
|
||||
insert into t3 select * from t1 where f<6;
|
||||
SET TIMESTAMP=1040324145;
|
||||
SET @@session.pseudo_thread_id=2;
|
||||
create temporary table t3(f int);
|
||||
create temporary table t3(f int)ENGINE=MyISAM;
|
||||
SET TIMESTAMP=1040324186;
|
||||
SET @@session.pseudo_thread_id=1;
|
||||
insert into t2 select count(*) from t3;
|
||||
@ -68,9 +68,9 @@ insert into t2 select count(*) from t3;
|
||||
SET TIMESTAMP=1040324224;
|
||||
SET @@session.pseudo_thread_id=2;
|
||||
drop temporary table t3;
|
||||
select * from t2;
|
||||
select * from t2 ORDER BY f;
|
||||
f
|
||||
5
|
||||
7
|
||||
drop table t1,t2;
|
||||
create temporary table t3 (f int);
|
||||
create temporary table t3 (f int)ENGINE=MyISAM;
|
||||
|
Reference in New Issue
Block a user