~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/singular.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 17:21:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622172146-fmtxxu9xt3ddmnm5
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
  null_pack_length= (null_count + 7)/8;
88
88
  getMutableShare()->setRecordLength(record_length + null_pack_length);
89
89
  getMutableShare()->rec_buff_length= ALIGN_SIZE(getMutableShare()->getRecordLength() + 1);
90
 
  record[0]= (unsigned char*)session->mem.alloc(getMutableShare()->rec_buff_length);
 
90
  record[0]= session->mem.alloc(getMutableShare()->rec_buff_length);
91
91
  if (not getInsertRecord())
92
92
  {
93
93
    throw "Memory allocation failure";