~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle-2.0/libdrizzle/result.cc

  • Committer: Monty Taylor
  • Date: 2011-04-03 17:46:51 UTC
  • mto: This revision was merged to the branch mainline in revision 2266.
  • Revision ID: mordred@inaugust.com-20110403174651-hb7jgepgf7zz492s
Fixed the windows build related to the new libdrizzle-2.0 stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
  if (result->options & DRIZZLE_RESULT_BUFFER_ROW)
146
146
  {
147
147
    for (x= 0; x < result->row_count; x++)
148
 
      drizzle_row_free(result, result->row_list->at(x));
 
148
      drizzle_row_free(result, result->row_list->at(static_cast<size_t>(x)));
149
149
 
150
150
    delete result->row_list;
151
151
    delete result->field_sizes_list;
179
179
 
180
180
bool drizzle_result_eof(drizzle_result_st *result)
181
181
{
182
 
  return result->options & DRIZZLE_RESULT_EOF_PACKET;
 
182
  return (result->options & DRIZZLE_RESULT_EOF_PACKET) ? true : false;
183
183
}
184
184
 
185
185
const char *drizzle_result_info(drizzle_result_st *result)