~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/result.c

  • Committer: Monty Taylor
  • Date: 2011-03-15 16:10:15 UTC
  • mfrom: (2235.3.1 staging)
  • Revision ID: mordred@inaugust.com-20110315161015-qceggirmf3cct7cw
Merge in libdrizzle install changes, doc changes and some header
refactoring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    free(result->field_sizes_list);
119
119
  }
120
120
 
121
 
  if (result->con->result_list == result)
122
 
    result->con->result_list= result->next;
 
121
  if (result->con)
 
122
  {
 
123
    result->con->result_count--;
 
124
    if (result->con->result_list == result)
 
125
      result->con->result_list= result->next;
 
126
  }
123
127
  if (result->prev)
124
128
    result->prev->next= result->next;
125
129
  if (result->next)
126
130
    result->next->prev= result->prev;
127
 
  result->con->result_count--;
128
131
 
129
132
  if (result->options & DRIZZLE_RESULT_ALLOCATED)
130
133
    free(result);