~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_derived.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 20:05:58 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622200558-oq3jb987di9yj70r
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
      sl->context.outer_context= 0;
110
110
 
111
111
    if (!(derived_result= new select_union))
112
 
      return(true); // out of memory
 
112
      return true; // out of memory
113
113
 
114
114
    // Select_Lex_Unit::prepare correctly work for single select
115
115
    if ((res= unit->prepare(session, derived_result, 0)))
164
164
    }
165
165
  }
166
166
 
167
 
  return(res);
 
167
  return res;
168
168
}
169
169
 
170
170
/*