~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

  • Committer: Brian Aker
  • Date: 2009-08-17 15:34:55 UTC
  • mto: (1117.1.9 merge)
  • mto: This revision was merged to the branch mainline in revision 1118.
  • Revision ID: brian@gaz-20090817153455-emrlqx6cbxo9knfm
Fix for Stewart's patch (includes hack to solve MAX rows problem).

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
                  serialized_proto.length()))
709
709
    goto error2;
710
710
 
711
 
  if (create_info->comment.str)
 
711
  if (proto->options().has_comment())
712
712
  {
713
 
    size_t write_length;
714
 
 
715
 
    write_length= azwrite_comment(&create_stream, create_info->comment.str,
716
 
                                  (unsigned int)create_info->comment.length);
717
 
 
718
 
    if (write_length == (size_t)create_info->comment.length)
 
713
    int write_length;
 
714
 
 
715
    write_length= azwrite_comment(&create_stream,
 
716
                                  proto->options().comment().c_str(),
 
717
                                  proto->options().comment().length());
 
718
 
 
719
    if (write_length < 0)
 
720
    {
 
721
      error= errno;
719
722
      goto error2;
 
723
    }
720
724
  }
721
725
 
722
726
  /*