*** Bug #28095: First phase ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t2;
CREATE TABLE t1 (a int);
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
INSERT INTO t1 VALUES (3);
SELECT * FROM t1 ORDER BY a;
a
1
2
3
CREATE TABLE t2 (b int);
SELECT @@GLOBAL.falcon_debug_mask;
@@GLOBAL.falcon_debug_mask
0
SET GLOBAL falcon_debug_mask = 4096;
SELECT @@GLOBAL.falcon_debug_mask;
@@GLOBAL.falcon_debug_mask
4096
*** Bug #28095: Second phase ***
SELECT * FROM t1 ORDER BY a;
a
1
2
3
SELECT count(*) FROM t1;
count(*)
3
SELECT @@GLOBAL.falcon_debug_mask;
@@GLOBAL.falcon_debug_mask
0
DROP TABLE t1;
DROP TABLE t2;
