~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/cursor.cc

  • Committer: Brian Aker
  • Date: 2010-06-05 00:14:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1592.
  • Revision ID: brian@gir-20100605001439-kn5v6oaspacx5q6l
Merge in change to getTable() to private the field objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
int FunctionCursor::doStartTableScan(bool)
71
71
{
72
72
  rows_returned= 0;
73
 
  generator= tool->generator(table->field);
 
73
  generator= tool->generator(table->getFields());
74
74
 
75
75
  return 0;
76
76
}
82
82
  ha_statistic_increment(&system_status_var::ha_read_rnd_next_count);
83
83
 
84
84
  /* Fix bug in the debug logic for field */
85
 
  for (Field **field=table->field ; *field ; field++)
 
85
  for (Field **field= table->getFields() ; *field ; field++)
86
86
  {
87
87
    (*field)->setWriteSet();
88
88
  }