~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field_iterator.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-14 16:41:31 UTC
  • mto: (2235.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: olafvdspek@gmail.com-20110314164131-803998d137sjapx5
Refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/field_iterator.h>
22
22
#include <drizzled/table_list.h>
23
23
#include <drizzled/session.h>
 
24
#include <drizzled/sql_lex.h>
24
25
#include <drizzled/table.h>
25
26
 
26
27
namespace drizzled
46
47
 
47
48
Item *Field_iterator_table::create_item(Session *session)
48
49
{
49
 
  Select_Lex *select= session->lex().current_select;
50
 
 
51
 
  Item_field *item= new Item_field(session, &select->context, *ptr);
52
 
 
53
 
  return item;
 
50
  return new Item_field(session, &session->lex().current_select->context, *ptr);
54
51
}
55
52
 
56
53