~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_dynrec.cc

  • Committer: Eric Day
  • Date: 2009-08-31 23:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1134.
  • Revision ID: eday@oddments.org-20090831235037-hwwe6zhq94o4lxtd
Removed purecov messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
#endif
264
264
  if (!(rec_buff=(unsigned char*) malloc(reclength)))
265
265
  {
266
 
    my_errno= HA_ERR_OUT_OF_MEM; /* purecov: inspected */
 
266
    my_errno= HA_ERR_OUT_OF_MEM;
267
267
    return(-1);
268
268
  }
269
269
  reclength2= _mi_rec_pack(info,rec_buff+ALIGN_SIZE(MI_MAX_DYN_BLOCK_HEADER),
295
295
#endif
296
296
  if (!(rec_buff=(unsigned char*) malloc(reclength)))
297
297
  {
298
 
    my_errno= HA_ERR_OUT_OF_MEM; /* purecov: inspected */
 
298
    my_errno= HA_ERR_OUT_OF_MEM;
299
299
    return(-1);
300
300
  }
301
301
  reclength=_mi_rec_pack(info,rec_buff+ALIGN_SIZE(MI_MAX_DYN_BLOCK_HEADER),
1115
1115
            goto err;
1116
1116
          if (rec->length > 255 && new_length > 127)
1117
1117
          {
1118
 
            /* purecov: begin inspected */
1119
1118
            if (to[0] != (unsigned char) ((new_length & 127) + 128) ||
1120
1119
                to[1] != (unsigned char) (new_length >> 7))
1121
1120
              goto err;
1122
1121
            to+=2;
1123
 
            /* purecov: end */
1124
1122
          }
1125
1123
          else if (*to++ != (unsigned char) new_length)
1126
1124
            goto err;