~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/subselect.cc

  • Committer: Brian Aker
  • Date: 2010-02-09 21:18:30 UTC
  • mfrom: (1273.2.42)
  • Revision ID: brian@gaz-20100209211830-7vf91n0yasi0r28y
Merge Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1647
1647
  {
1648
1648
    /*
1649
1649
      IN/SOME/ALL/ANY subqueries aren't support LIMIT clause. Without it
1650
 
      order_st BY clause becomes meaningless thus we drop it here.
 
1650
      ORDER BY clause becomes meaningless thus we drop it here.
1651
1651
    */
1652
1652
    Select_Lex *sl= current->master_unit()->first_select();
1653
1653
    for (; sl; sl= sl->next_select())
2953
2953
  if (tmp_result_sink->create_result_table(
2954
2954
                         session, tmp_columns, true,
2955
2955
                         session->options | TMP_TABLE_ALL_COLUMNS,
2956
 
                         "materialized subselect", true))
 
2956
                         "materialized subselect"))
2957
2957
    return(true);
2958
2958
 
2959
2959
  tmp_table= tmp_result_sink->table;