~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Stewart Smith
  • Date: 2010-01-09 01:48:34 UTC
  • mto: This revision was merged to the branch mainline in revision 1266.
  • Revision ID: stewart@flamingspork.com-20100109014834-ogbok43isv7sq0h6
prepare for removing READ_ALL and EXTRA_RECORD by introducing an assert() to check that it is safe to remove them

Show diffs side-by-side

added added

removed removed

Lines of Context:
1350
1350
  records= 0;
1351
1351
  if ((db_stat & HA_OPEN_KEYFILE))
1352
1352
    records=1;
1353
 
  if (prgflag & (READ_ALL+EXTRA_RECORD))
1354
 
    records++;
 
1353
  assert (prgflag & (READ_ALL+EXTRA_RECORD));
 
1354
  records++;
1355
1355
 
1356
1356
  if (!(record= (unsigned char*) alloc_root(&outparam->mem_root,
1357
1357
                                   share->rec_buff_length * records)))