~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
 
198
198
/* Deallocate temporary blob storage */
199
199
 
200
 
void free_blobs(register Table *table)
 
200
void free_blobs(Table *table)
201
201
{
202
202
  uint32_t *ptr, *end;
203
203
  for (ptr= table->getBlobField(), end=ptr + table->sizeBlobFields();
223
223
    
224
224
  result->type_lengths= (uint*) (result->type_names + result->count + 1);
225
225
 
226
 
  List<String>::iterator it(strings);
 
226
  List<String>::iterator it(strings.begin());
227
227
  String *tmp;
228
228
  for (uint32_t i= 0; (tmp= it++); i++)
229
229
  {
239
239
 
240
240
        /* Check that the integer is in the internal */
241
241
 
242
 
int set_zone(register int nr, int min_zone, int max_zone)
 
242
int set_zone(int nr, int min_zone, int max_zone)
243
243
{
244
244
  if (nr<=min_zone)
245
245
    return (min_zone);
874
874
  blob_count= string_count= null_count= hidden_null_count= group_null_items= 0;
875
875
  param->using_indirect_summary_function= 0;
876
876
 
877
 
  List<Item>::iterator li(fields);
 
877
  List<Item>::iterator li(fields.begin());
878
878
  Item *item;
879
879
  Field **tmp_from_field=from_field;
880
880
  while ((item=li++))