~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field_iterator.cc

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:19:11 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051911-blfrsfy6yjvjg9rs
add note that impl of DROP INDEX should be documented

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <config.h>
 
20
#include "config.h"
21
21
#include <drizzled/field_iterator.h>
22
22
#include <drizzled/table_list.h>
23
23
#include <drizzled/session.h>
46
46
 
47
47
Item *Field_iterator_table::create_item(Session *session)
48
48
{
49
 
  Select_Lex *select= session->getLex()->current_select;
 
49
  Select_Lex *select= session->lex->current_select;
50
50
 
51
51
  Item_field *item= new Item_field(session, &select->context, *ptr);
52
52
 
57
57
void Field_iterator_natural_join::set(TableList *table_ref)
58
58
{
59
59
  assert(table_ref->join_columns);
60
 
  column_ref_it= table_ref->join_columns->begin();
 
60
  column_ref_it.init(*(table_ref->join_columns));
61
61
  cur_column_ref= column_ref_it++;
62
62
}
63
63