~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_iocache.cc

  • Committer: Monty Taylor
  • Date: 2009-01-09 07:02:24 UTC
  • mto: (779.1.2 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109070224-prwl5p52mfql3zfw
Split out readline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1561
1561
    if (pos + Count <= info->pos_in_file)
1562
1562
      return (pwrite(info->file, Buffer, Count, pos) == 0);
1563
1563
    /* Write the part of the block that is before buffer */
1564
 
    length= (uint32_t) (info->pos_in_file - pos);
 
1564
    length= (uint) (info->pos_in_file - pos);
1565
1565
    if (pwrite(info->file, Buffer, length, pos) == 0)
1566
1566
      info->error= error= -1;
1567
1567
    Buffer+=length;