~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/unireg.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 15:52:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709155252-lnzmxxje1g40z3a7
Warning fixes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
558
558
} /* pack_keys */
559
559
 
560
560
 
561
 
        /* Make formheader */
 
561
/* Make formheader */
562
562
 
563
 
static bool pack_header(uchar *forminfo, enum legacy_db_type table_type,
564
 
                        List<Create_field> &create_fields,
 
563
static bool pack_header(uchar *forminfo,
 
564
                        enum legacy_db_type table_type __attribute__((__unused__)),
 
565
                        List<Create_field> &create_fields,
565
566
                        uint info_length, uint screens, uint table_options,
566
567
                        ulong data_offset, handler *file)
567
568
{
568
569
  uint length,int_count,int_length,no_empty, int_parts;
569
570
  uint time_stamp_pos,null_fields;
570
571
  ulong reclength, totlength, n_length, com_length;
571
 
  
 
572
 
572
573
 
573
574
  if (create_fields.elements > MAX_FIELDS)
574
575
  {
878
879
}
879
880
 
880
881
 
881
 
        /* save an empty record on start of formfile */
 
882
/* save an empty record on start of formfile */
882
883
 
883
 
static bool make_empty_rec(THD *thd, File file,enum legacy_db_type table_type,
884
 
                           uint table_options,
885
 
                           List<Create_field> &create_fields,
886
 
                           uint reclength,
 
884
static bool make_empty_rec(THD *thd, File file,
 
885
                           enum legacy_db_type table_type __attribute__((__unused__)),
 
886
                           uint table_options,
 
887
                           List<Create_field> &create_fields,
 
888
                           uint reclength,
887
889
                           ulong data_offset,
888
890
                           handler *handler)
889
891
{