~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/table_list.cc

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
  return 0;
262
262
}
263
263
 
264
 
void TableList::print(Session *session, String *str, enum_query_type query_type)
 
264
void TableList::print(Session *session, String *str)
265
265
{
266
266
  if (nested_join)
267
267
  {
268
268
    str->append('(');
269
 
    print_join(session, str, &nested_join->join_list, query_type);
 
269
    print_join(session, str, &nested_join->join_list);
270
270
    str->append(')');
271
271
  }
272
272
  else
276
276
    {
277
277
      // A derived table
278
278
      str->append('(');
279
 
      derived->print(str, query_type);
 
279
      derived->print(str);
280
280
      str->append(')');
281
281
      cmp_name= "";                               // Force printing of alias
282
282
    }