~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_write.c

  • Committer: Monty Taylor
  • Date: 2008-07-11 15:49:04 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 134.
  • Revision ID: monty@inaugust.com-20080711154904-nrtkef3bo1jvzrds
A crapton more warning cleanups (I turned on more warnings) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
585
585
        */
586
586
 
587
587
static uchar *_mi_find_last_pos(MI_KEYDEF *keyinfo, uchar *page,
588
 
                                uchar *key, uint *return_key_length,
589
 
                                uchar **after_key)
 
588
                                uchar *key, uint *return_key_length,
 
589
                                uchar **after_key)
590
590
{
591
 
  uint keys, length, last_length, key_ref_length;
 
591
  uint keys, length, last_length=0, key_ref_length;
592
592
  uchar *end, *lastpos, *prevpos= NULL;
593
593
  uchar key_buff[MI_MAX_KEY_BUFF];
594
594
  DBUG_ENTER("_mi_find_last_pos");