~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
      return NULL;
72
72
 
73
73
    result->row= new drizzle_row_t_type[result->column_count *2];
74
 
    if (result->row == NULL)
75
 
    {
76
 
      drizzle_set_error(result->con->drizzle, "drizzle_row_buffer", "malloc");
77
 
      *ret_ptr= DRIZZLE_RETURN_MEMORY;
78
 
      return NULL;
79
 
    }
80
 
 
81
74
    result->field_sizes= reinterpret_cast<size_t *>(result->row + result->column_count);
82
75
  }
83
76