~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.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:
178
178
  if (!fields_vars.elements)
179
179
  {
180
180
    Field **field;
181
 
    for (field=table->field; *field ; field++)
 
181
    for (field= table->getFields(); *field ; field++)
182
182
      fields_vars.push_back(new Item_field(*field));
183
183
    table->setWriteSet();
184
184
    table->timestamp_field_type= TIMESTAMP_NO_AUTO_SET;