~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/subselect_debug.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CREATE TABLE t1(id INT);
 
2
INSERT INTO t1 VALUES (1),(2),(3),(4);
 
3
INSERT INTO t1 SELECT a.id FROM t1 a,t1 b,t1 c,t1 d;
 
4
SET SESSION debug="d,subselect_exec_fail";
 
5
SELECT SUM(EXISTS(SELECT RAND() FROM t1)) FROM t1;
 
6
SUM(EXISTS(SELECT RAND() FROM t1))
 
7
0
 
8
SELECT REVERSE(EXISTS(SELECT RAND() FROM t1));
 
9
REVERSE(EXISTS(SELECT RAND() FROM t1))
 
10
0
 
11
SET SESSION debug=DEFAULT;
 
12
DROP TABLE t1;