~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/key_column_usage.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-11-26 04:33:51 UTC
  • mto: (1228.4.1 push)
  • mto: This revision was merged to the branch mainline in revision 1234.
  • Revision ID: osullivan.padraig@gmail.com-20091126043351-2ebmuyzrbifxat0q
Removed all remnants of schema_table from the TableList class. This cleans up a bunch of code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
  delete columns;
191
191
}
192
192
 
193
 
int KeyColUsageISMethods::processTable(plugin::InfoSchemaTable *,
 
193
int KeyColUsageISMethods::processTable(plugin::InfoSchemaTable *store_table,
194
194
                                       Session *session,
195
195
                                       TableList *tables,
196
196
                                       Table *table, bool res,
234
234
                                 key_part->field->field_name,
235
235
                                 strlen(key_part->field->field_name),
236
236
                                 (int64_t) f_idx);
237
 
          tables->schema_table->addRow(table->record[0],
 
237
          store_table->addRow(table->record[0],
238
238
                                       table->s->reclength);
239
239
        }
240
240
      }
277
277
        table->field[11]->store(r_info->str, r_info->length,
278
278
                                system_charset_info);
279
279
        table->field[11]->set_notnull();
280
 
        tables->schema_table->addRow(table->record[0], table->s->reclength);
 
280
        store_table->addRow(table->record[0], table->s->reclength);
281
281
      }
282
282
    }
283
283
  }