~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/order_by.test

  • Committer: Stewart Smith
  • Date: 2010-08-05 16:41:55 UTC
  • mfrom: (1638.9.13)
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100805164155-7olu6iv6rwoxfsne
Merged store-foreign-key-in-table-proto into show-create-table-using-table-message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
742
742
INSERT INTO t1 SELECT a +32, b +32 FROM t1;
743
743
INSERT INTO t1 SELECT a +64, b +64 FROM t1;
744
744
 
 
745
--error 1176
745
746
SELECT a FROM t1 IGNORE INDEX FOR GROUP BY (a, ab) GROUP BY a;
746
747
 
 
748
SELECT a FROM t1 IGNORE INDEX FOR GROUP BY (primary, ab) GROUP BY a;
 
749
 
747
750
SELECT @tmp_tables_after = @tmp_tables_before ;
748
751
 
 
752
--error 1176
749
753
SELECT a FROM t1 IGNORE INDEX FOR ORDER BY (a, ab) ORDER BY a;
 
754
SELECT a FROM t1 IGNORE INDEX FOR ORDER BY (primary, ab) ORDER BY a;
750
755
 
751
756
SELECT @tmp_tables_after = @tmp_tables_before;
752
757