~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join_cache.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-14 20:42:14 UTC
  • mto: (2318.6.3 refactor7)
  • mto: This revision was merged to the branch mainline in revision 2337.
  • Revision ID: olafvdspek@gmail.com-20110614204214-gswvc2b6fr113758
Remove malloc NULL check. Just die.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
    my_error(ER_OUT_OF_GLOBAL_JOINMEMORY, MYF(ME_ERROR+ME_WAITTANG));
173
173
    return 1;
174
174
  }
175
 
  if (!(cache->buff= (unsigned char*) malloc(size)))
176
 
    return 1;
 
175
  cache->buff= (unsigned char*) malloc(size);
177
176
  cache->end= cache->buff+size;
178
177
  cache->reset_cache_write();
179
178