~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
644
644
test.t1 repair  status  OK
645
645
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
646
646
DROP TABLE t1;
 
647
#
 
648
# Bug#54484 explain + prepared statement: crash and Got error -1 from storage engine
 
649
#
 
650
CREATE TABLE t1(f1 VARCHAR(6) NOT NULL, FULLTEXT KEY(f1), UNIQUE(f1));
 
651
INSERT INTO t1 VALUES ('test');
 
652
SELECT 1 FROM t1 WHERE 1 >
 
653
ALL((SELECT 1 FROM t1 JOIN t1 a
 
654
ON (MATCH(t1.f1) against (""))
 
655
WHERE t1.f1 GROUP BY t1.f1)) xor f1;
 
656
1
 
657
1
 
658
PREPARE stmt FROM
 
659
'SELECT 1 FROM t1 WHERE 1 >
 
660
 ALL((SELECT 1 FROM t1 RIGHT OUTER JOIN t1 a
 
661
 ON (MATCH(t1.f1) against (""))
 
662
 WHERE t1.f1 GROUP BY t1.f1)) xor f1';
 
663
EXECUTE stmt;
 
664
1
 
665
1
 
666
EXECUTE stmt;
 
667
1
 
668
1
 
669
DEALLOCATE PREPARE stmt;
 
670
PREPARE stmt FROM
 
671
'SELECT 1 FROM t1 WHERE 1 >
 
672
 ALL((SELECT 1 FROM t1 JOIN t1 a
 
673
 ON (MATCH(t1.f1) against (""))
 
674
 WHERE t1.f1 GROUP BY t1.f1))';
 
675
EXECUTE stmt;
 
676
1
 
677
1
 
678
EXECUTE stmt;
 
679
1
 
680
1
 
681
DEALLOCATE PREPARE stmt;
 
682
DROP TABLE t1;
647
683
End of 5.1 tests